PHPackages                             dc/cache-phpredis - 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. dc/cache-phpredis

ActiveLibrary[Caching](/categories/caching)

dc/cache-phpredis
=================

Redis PHP extension implementation for dc/cache

116PHP

Since Dec 14Pushed 9y ago2 watchersCompare

[ Source](https://github.com/digitalcreations/cache-phpredis)[ Packagist](https://packagist.org/packages/dc/cache-phpredis)[ RSS](/packages/dc-cache-phpredis/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

[![DC\Cache - Caching interface](logo.png)](logo.png)

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

[](#installation)

```
$ composer require dc/cache-phpredis

```

Or add it to `composer.json`:

```
"require": {
	"dc/cache-phpredis": "0.*",
}
```

```
$ composer install

```

Getting started
---------------

[](#getting-started)

Provide either a `\Redis` connection or a hostname and port.

```
$cache = new \DC\Cache\Implementations\Redis\Cache('127.0.0.1', 6379);
// or
$redis = new \Redis();
$redis->connect('127.0.0.1');
$cache = new \DC\Cache\Implementations\Redis\Cache($redis);
```

Otherwise, use it according [to the interface](http://github.com/digitalcreations/cache).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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/592f1016d288aeb80fddba8b7749f5bf91f83305b332e8d8f37db3d19c16b7d3?d=identicon)[vegardlarsen](/maintainers/vegardlarsen)

![](https://www.gravatar.com/avatar/53f38207340517e705d87fb858772629b30fa6f1d40a65668dc5599c099d3413?d=identicon)[francisrath](/maintainers/francisrath)

---

Top Contributors

[![vegardlarsen](https://avatars.githubusercontent.com/u/436508?v=4)](https://github.com/vegardlarsen "vegardlarsen (6 commits)")

### Embed Badge

![Health badge](/badges/dc-cache-phpredis/health.svg)

```
[![Health](https://phpackages.com/badges/dc-cache-phpredis/health.svg)](https://phpackages.com/packages/dc-cache-phpredis)
```

###  Alternatives

[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

32136.0k](/packages/beryllium-cachebundle)

PHPackages © 2026

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