PHPackages                             galvani/php-redis - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. galvani/php-redis

ActiveLibrary

galvani/php-redis
=================

php-redis contains php5 class for connecting with redis database with methods for all available commands in redis

1.3.1(13y ago)0167PHPPHP &gt;=5.3

Since Apr 4Pushed 13y ago1 watchersCompare

[ Source](https://github.com/galvani/php-redis)[ Packagist](https://packagist.org/packages/galvani/php-redis)[ RSS](/packages/galvani-php-redis/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

PHP5 Redis
==========

[](#php5-redis)

php-redis contains php5 class for connecting with redis database with methods for all available commands in redis

Quick start
-----------

[](#quick-start)

- Install Redis from [redis.io](http://redis.io/download "Redis")
- Download latest php-redis class from [here](https://github.com/sash/php-redis/archives/master)
- Write some code:

    ```
      # Connecting
      $r = new Redis('localhost', 6379);

      # Save some value
      $r->some_key = 'hello world';

      # Outputting it
      echo $r->some_key;

      # Call any redis method (including methods added in redis 2.*)
      echo $r->zcard('zkey');

    ```

Changelog
---------

[](#changelog)

```
1.0 - Initial implementation with all functions implemented up to redis 1.0
1.1 - The unified request protocol is used (intruduced in redis 1.2).
	- Redis implements the __call magic method. Any non-implemented redis method can be called via ->methodname(param1, ...)
1.2 - pipeline support. ->pipeline_begin() and then execute any number of commands - each will return null
	Then run ->pipeline_responses() to get all of the responses as array and end the pipeline mode

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

4789d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f946a883a916f34ebf0099ed19bb02f7e83060e5ec6b04df658c34e1c670a7e3?d=identicon)[galvani](/maintainers/galvani)

---

Top Contributors

[![sash](https://avatars.githubusercontent.com/u/45210?v=4)](https://github.com/sash "sash (19 commits)")[![galvani](https://avatars.githubusercontent.com/u/556426?v=4)](https://github.com/galvani "galvani (3 commits)")[![Cinamonas](https://avatars.githubusercontent.com/u/136233?v=4)](https://github.com/Cinamonas "Cinamonas (1 commits)")

### Embed Badge

![Health badge](/badges/galvani-php-redis/health.svg)

```
[![Health](https://phpackages.com/badges/galvani-php-redis/health.svg)](https://phpackages.com/packages/galvani-php-redis)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
