predis/predis
A flexible and feature-complete Redis/Valkey client for PHP. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 97
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 14
- age_days: 6143
- days_rel: 19
- days_push: 19
- n_releases_24m: 14
Adoption not part of the score
7780 stars · 996 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Predis is a flexible and feature-complete Redis/Valkey client library written entirely in PHP, requiring no native extension. It supports Redis 3.0 through 8.0, clustering, sentinel, replication, pipelining, transactions, and Lua scripting.
Use cases
- connect to redis from php
- use redis for caching in a php application
- work with redis cluster or sentinel in php
- run redis transactions and lua scripts from php
- pipeline redis commands
- store session data in redis from php
When to choose
- you need a pure-PHP Redis client without installing a C extension
- you need broad Redis version support including clustering and sentinel
- you want customizable commands and connection backends
When to avoid
- you need maximum performance from a native extension like phpredis
- your project does not use PHP
Facets
library · maturity stable
database-driver caching databases backend web-development developer-tools php cross-platform redis valkey redis-cluster redis-sentinel key-value-store composer
2 sources
- readme: https://github.com/predis/predis · fetched 2026-08-28 · 8e8b1f9e37e3
- homepage: https://github.com/predis/predis/wiki · fetched 2026-08-29 · e7b18f5a0df5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| predis/predis | main | 98 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem