PHPackages                             bruensicke/li3\_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. [Caching](/categories/caching)
4. /
5. bruensicke/li3\_redis

ActiveLithium-library[Caching](/categories/caching)

bruensicke/li3\_redis
=====================

redis made ready for lithium

392PHP

Since Aug 2Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

li3\_redis
==========

[](#li3_redis)

[![](https://camo.githubusercontent.com/bd872a2647f2ce31e51fb7cee8a476caa05ae7409246e6066a787711e5012e77/68747470733a2f2f7472617669732d63692e6f72672f627275656e7369636b652f6c69335f72656469732e706e673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/bd872a2647f2ce31e51fb7cee8a476caa05ae7409246e6066a787711e5012e77/68747470733a2f2f7472617669732d63692e6f72672f627275656e7369636b652f6c69335f72656469732e706e673f6272616e63683d6d6173746572)

redis made ready for lithium Requirements
------------

[](#requirements)

You need the `phpredis` PHP extension, which can be found here:

An easy way to install it could be this:

```
git clone git://github.com/nicolasff/phpredis.git
cd phpredis
phpize
./configure
make
sudo -s make install
sudo -s
echo "extension=redis.so" > /etc/php5/conf.d/redis.ini
exit
sudo service apache2 restart

```

Installation
------------

[](#installation)

Add a submodule to your li3 libraries:

```
git submodule add git@github.com:bruensicke/li3_redis.git libraries/li3_redis

```

and activate it in you app (config/bootstrap/libraries.php), of course:

```
Libraries::add('li3_redis');

```

Todos
-----

[](#todos)

i want to address the following topics. If you need something or can share something of value, please get in touch with me.

- create redis datasource (done)
- use Connection class to define connections (done)
- fix failing unit-tests (done)
- convert leaderboard class to use lithium standards `_init()` etc. (partly done)
- use Redis class as utility class for Leaderboard (done)
- auto-add/remove namespace formats to include environments or other variables in keys (done)
- add stats class (done)
- add stats command
- add points / score class
- add user messaging system
- add basic queue system that may also go into [li3\_queue](https://github.com/bruensicke/li3_queue) or [li3\_resque](https://github.com/bruensicke/li3_resque.git)

Credits
-------

[](#credits)

- [li3](http://www.lithify.me)
- [PHP Leaderboard](https://github.com/agoragames/php-leaderboard).

Please report any bug or feature-request here: [https://github.com/bruensicke/li3\_redis/issues](https://github.com/bruensicke/li3_redis/issues)

License
-------

[](#license)

This code is distributed under the terms of the BSD 3-Clause License,

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.2% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/28982e1ca3f1117ca2e08514a4b684ad5d099809415e3f41b01c8777390a02fe?d=identicon)[d1rk](/maintainers/d1rk)

---

Top Contributors

[![d1rk](https://avatars.githubusercontent.com/u/30408?v=4)](https://github.com/d1rk "d1rk (103 commits)")[![skurrilo](https://avatars.githubusercontent.com/u/712591?v=4)](https://github.com/skurrilo "skurrilo (10 commits)")

### Embed Badge

![Health badge](/badges/bruensicke-li3-redis/health.svg)

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

###  Alternatives

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.4k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)

PHPackages © 2026

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