PHPackages                             kgbph/cakephp-redis-cluster - 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. kgbph/cakephp-redis-cluster

ActiveCakephp-plugin[Caching](/categories/caching)

kgbph/cakephp-redis-cluster
===========================

Redis cluster cache storage plugin for CakePHP

3.1.0(4y ago)21161MITPHPPHP &gt;=7.4

Since Sep 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/kgbph/cakephp-redis-cluster)[ Packagist](https://packagist.org/packages/kgbph/cakephp-redis-cluster)[ RSS](/packages/kgbph-cakephp-redis-cluster/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (7)Versions (4)Used By (0)

Redis cluster cache storage plugin for CakePHP
==============================================

[](#redis-cluster-cache-storage-plugin-for-cakephp)

[![Build Status](https://camo.githubusercontent.com/d3bb622c6131e44eba5eff4a6ff600b0973a9a2809ed3709c53f3cf3c7b3560b/68747470733a2f2f636c6f75642e64726f6e652e696f2f6170692f6261646765732f6b676270682f63616b657068702d72656469732d636c75737465722f7374617475732e737667)](https://cloud.drone.io/kgbph/cakephp-redis-cluster)[![License](https://camo.githubusercontent.com/254c2d6c76db91b4f5eb07e5df31bc3272e002f078d031a71bddae25e2d30f60/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6b676270682f63616b657068702d72656469732d636c75737465722e7376673f7374796c653d706f706f7574)](https://github.com/kgbph/cakephp-redis-cluster/blob/master/LICENSE)[![](https://camo.githubusercontent.com/2acfc1f6a296b3543f53e2ed04458e23119171bae5f7c54c3b30f494ff1b6ca7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6b676270682f63616b657068702d72656469732d636c75737465722e737667)](https://github.com/kgbph/cakephp-redis-cluster/releases)

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

[](#installation)

You can install this plugin into your CakePHP application using [composer](https://getcomposer.org).

The recommended way to install composer packages is:

```
composer require kgbph/cakephp-redis-cluster

```

Usage
-----

[](#usage)

Use as a cache engine. See [CakePHP Caching](https://book.cakephp.org/3/en/core-libraries/caching.html).

```
Cache::setConfig('redis', [
    'className' => 'Kgbph/RedisCluster.RedisCluster',
    'nodes' => [
        'redis-node-0:6379',
        'redis-node-1:6379',
        'redis-node-2:6379',
        'redis-node-3:6379',
        'redis-node-4:6379',
        'redis-node-5:6379',
    ],
]);
```

Options
-------

[](#options)

NameTypedefaultDescriptiondurationint3600Specify how long items lastfailoverstring | nullnullAutomatic slave failover modegroupsstring\[\]\[\]List of associated groups or 'tags'namestring | nullnullRedis cluster namenodesstring\[\]\[\]URL or IP of the Redis cluster nodespersistentbooltrueUse persistent connectionprefixstring'cake\_'Prefix prepended to all entriesread\_timeoutfloat0Read timeout in secondstimeoutfloat0Timeout in seconds---

Code quality checks
-------------------

[](#code-quality-checks)

### PHP CodeSniffer

[](#php-codesniffer)

Execute `composer cs-check` inside the PHP container.

### PHP Static Analysis Tool

[](#php-static-analysis-tool)

Execute `composer stan` inside the PHP container.

### PHPUnit

[](#phpunit)

Execute `composer test` inside the PHP container.

### Run all checks

[](#run-all-checks)

Execute `composer check` inside the PHP container.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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.

###  Release Activity

Cadence

Every ~5 days

Total

3

Last Release

1693d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/39d7b4575b7ca0e3ddb6b6c21c428928b2a584fbc418af6b811b169fdb0e797a?d=identicon)[kgbph](/maintainers/kgbph)

---

Top Contributors

[![kgbph](https://avatars.githubusercontent.com/u/22066281?v=4)](https://github.com/kgbph "kgbph (10 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kgbph-cakephp-redis-cluster/health.svg)

```
[![Health](https://phpackages.com/badges/kgbph-cakephp-redis-cluster/health.svg)](https://phpackages.com/packages/kgbph-cakephp-redis-cluster)
```

###  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)
