PHPackages                             kba-team/cakephp-predis - 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. kba-team/cakephp-predis

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

kba-team/cakephp-predis
=======================

Predis cache engine for CakePHP

v3.0.0(1y ago)015.1k↓43.2%MITPHPPHP &gt;=8.1 &lt;8.4

Since Jul 19Pushed 1y ago2 watchersCompare

[ Source](https://github.com/the-kbA-team/cakephp-predis)[ Packagist](https://packagist.org/packages/kba-team/cakephp-predis)[ RSS](/packages/kba-team-cakephp-predis/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (2)Versions (12)Used By (0)

CakePHP Predis
==============

[](#cakephp-predis)

[![License: MIT](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/d4d8e3a2356306fe18029a5c1691fde9e060f7e0749f419ea1c0e9ff6b698f9d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b62612d7465616d2f63616b657068702d707265646973)](https://packagist.org/packages/kba-team/cakephp-predis)

Predis plugin for CakePHP 2.x

Usage
-----

[](#usage)

```
composer require kba-team/cakephp-predis
```

In bootstrap.php load the Plugin ...

```
CakePlugin::load("PredisCache");
```

In your config file ...

```
Cache::config('_session_', [
    'engine' => 'PredisCache.Predis',
    'sentinel' => ['', ...., ''],
    'password' => "",
    'port' => 26379,
    'exceptions' => true,
    'database' => 1,
    'prefix' => "",
    'duration' => '+2 days',
]);
```

Possible configuration parameters are:

- `engine` Predis
- `scheme` Currently, TCP only
- `prefix` See CakePhp 2.x Caching
- `server` Redis server (must be master),
- `sentinel` List of sentinel nodes (hostnames or IP addresses)
- `port` Either redis Port (6379) is `server` is used otherwise the sentinel port (26379)
- `exceptions` Should exceptions be thrown or not (true)
- `database` See CakePhp 2.x Caching =&gt; 0,
- `password` Redis password
- `service` Sentinel only: Sentinel service name (mymaster)

### Further reading

[](#further-reading)

- About [CakePHP 2.x Caching](https://book.cakephp.org/2/en/core-libraries/caching.html)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity75

Established project with proven stability

 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 ~161 days

Recently: every ~261 days

Total

8

Last Release

635d ago

Major Versions

v1.0.1 → v2.0.12021-10-12

v1.1.0 → v2.1.02023-12-14

v1.2.0 → v3.0.02024-08-22

PHP version history (4 changes)v2.0.0PHP ^7.0

v1.0.0PHP ^5.5|^7.0

v1.2.0PHP ^8.0

v3.0.0PHP &gt;=8.1 &lt;8.4

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/4d7106acf139a0e8ec30679a6b3e44be2bc4a40dec1611821ce32b7b0da5d420?d=identicon)[tigerduck](/maintainers/tigerduck)

---

Top Contributors

[![tigerduck42](https://avatars.githubusercontent.com/u/3737924?v=4)](https://github.com/tigerduck42 "tigerduck42 (1 commits)")

### Embed Badge

![Health badge](/badges/kba-team-cakephp-predis/health.svg)

```
[![Health](https://phpackages.com/badges/kba-team-cakephp-predis/health.svg)](https://phpackages.com/packages/kba-team-cakephp-predis)
```

###  Alternatives

[rhubarbgroup/redis-cache

A persistent object cache backend for WordPress powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.

51795.3k1](/packages/rhubarbgroup-redis-cache)[monospice/laravel-redis-sentinel-drivers

Redis Sentinel integration for Laravel and Lumen.

103830.5k](/packages/monospice-laravel-redis-sentinel-drivers)[jamescauwelier/psredis

Sentinel client for the popular php redis client

77392.9k5](/packages/jamescauwelier-psredis)[cache/predis-adapter

A PSR-6 cache implementation using Redis (Predis). This implementation supports tags

272.6M13](/packages/cache-predis-adapter)[symfony-bundles/redis-bundle

Symfony Redis Bundle

271.1M5](/packages/symfony-bundles-redis-bundle)[pdffiller/qless-php

PHP Bindings for qless

29113.2k1](/packages/pdffiller-qless-php)

PHPackages © 2026

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