PHPackages                             digitalnatives/craft3-illuminate-redis-adapter - 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. digitalnatives/craft3-illuminate-redis-adapter

ActiveLibrary[Caching](/categories/caching)

digitalnatives/craft3-illuminate-redis-adapter
==============================================

Redis Cache based on Illuminate redis for CraftCMS 3|4

1.4.0(1y ago)27.3k—0%1MITPHPPHP &gt;=8.2.0

Since May 5Pushed 1y ago2 watchersCompare

[ Source](https://github.com/DN-Amsterdam/craft3-illuminate-redis-adapter)[ Packagist](https://packagist.org/packages/digitalnatives/craft3-illuminate-redis-adapter)[ Docs](https://digitalnatives.nl)[ RSS](/packages/digitalnatives-craft3-illuminate-redis-adapter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (8)Used By (0)

craft3-illuminate-redis-adapter
===============================

[](#craft3-illuminate-redis-adapter)

Redis Cache based on Illuminate redis for CraftCMS 3

Installation
============

[](#installation)

You can install this package using composer;

```
composer require digitalnatives/craft3-illuminate-redis-adapter

```

Choose an adapter
-----------------

[](#choose-an-adapter)

### PHPredis (recommended)

[](#phpredis-recommended)

For best performance we recommend using ext-phpredis

#### Config

[](#config)

```
return [
    'components' => [
        'cache' => [
            'class' => DigitalNatives\Cache\Redis::class,
            'defaultDuration' => 86400,
            'connection' => 'phpredis',
            'config' => [
                'host' => getenv('REDIS_HOST'),
                'port' => (int)getenv('REDIS_PORT'),
                'database' => getenv('REDIS_DB'),
                'connectTimeout' => 60,
                'readTimeout' => 60,
                'serializer' => \Redis::SERIALIZER_NONE
            ],
        ],
    ],
];
```

### predis

[](#predis)

When installing php extensions is not an option, predis is a very good option.

If you haven't installed predis, install it using composer;

```
composer require predis/predis

```

#### Config

[](#config-1)

```
return [
    'components' => [
        'cache' => [
            'class' => DigitalNatives\Cache\Redis::class,
            'defaultDuration' => 86400,
            'connection' => 'predis',
            'params' => [
                'host' => getenv('REDIS_HOST'),
                'port' => (int)getenv('REDIS_PORT'),
            ],
            'options' => [
                ['profile' => '5.0']
            ]
        ],
    ],
];
```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 76.5% 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 ~213 days

Total

5

Last Release

615d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.4.0

1.3.0PHP &gt;=8.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7195cfa9749ba405e65f0ff1ef74293f2d518bea06b2588d04179baad63b3e8c?d=identicon)[Zae](/maintainers/Zae)

---

Top Contributors

[![Zae](https://avatars.githubusercontent.com/u/96126?v=4)](https://github.com/Zae "Zae (13 commits)")[![steveUpperchief](https://avatars.githubusercontent.com/u/168735444?v=4)](https://github.com/steveUpperchief "steveUpperchief (3 commits)")[![FreekVR](https://avatars.githubusercontent.com/u/417416?v=4)](https://github.com/FreekVR "FreekVR (1 commits)")

---

Tags

rediscacheadaptercmsCraftcraftcms

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/digitalnatives-craft3-illuminate-redis-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/digitalnatives-craft3-illuminate-redis-adapter/health.svg)](https://phpackages.com/packages/digitalnatives-craft3-illuminate-redis-adapter)
```

###  Alternatives

[nystudio107/craft-fastcgicachebust

Bust the Nginx FastCGI Cache when entries are saved or created.

1953.5k3](/packages/nystudio107-craft-fastcgicachebust)[mmikkel/cache-flag

Cold template caches that can be flagged and automatically invalidated.

1729.9k1](/packages/mmikkel-cache-flag)[bolden/htmlcache

Cache pages to HTML and boost website performance on Craft CMS 3.

317.9k](/packages/bolden-htmlcache)

PHPackages © 2026

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