PHPackages                             abouvier/slim-redis-cache - 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. abouvier/slim-redis-cache

ActiveLibrary[Caching](/categories/caching)

abouvier/slim-redis-cache
=========================

Redis cache middleware for Slim framework

v0.1.0(10y ago)172.0k8Apache-2.0PHPPHP &gt;=5.4.0

Since Sep 6Pushed 10y ago2 watchersCompare

[ Source](https://github.com/abouvier/slim-redis-cache)[ Packagist](https://packagist.org/packages/abouvier/slim-redis-cache)[ Docs](https://github.com/abouvier/slim-redis-cache)[ RSS](/packages/abouvier-slim-redis-cache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

RedisCache
==========

[](#rediscache)

Redis cache middleware for Slim framework.

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

[](#installation)

```
composer require abouvier/slim-redis-cache

```

Usage
-----

[](#usage)

Cache every successful HTTP response for 8 hours in the local Redis server.

```
$app = new \Slim\Slim();
// ...
$client = new \Predis\Client('tcp://localhost:6379', [
	'prefix' => $app->environment['SERVER_NAME']
]);
$app->add(new \Slim\Middleware\RedisCache($client, [
	'timeout' => 28800
]));
// ...
$app->run();
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3908d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/67bd11708b80c57f0f738c0887dd68355d003ba424716e451e20e8fb6759424f?d=identicon)[abouvier](/maintainers/abouvier)

---

Top Contributors

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

---

Tags

cachemiddlewareredisslimmiddlewareslimrediscache

### Embed Badge

![Health badge](/badges/abouvier-slim-redis-cache/health.svg)

```
[![Health](https://phpackages.com/badges/abouvier-slim-redis-cache/health.svg)](https://phpackages.com/packages/abouvier-slim-redis-cache)
```

###  Alternatives

[cache/predis-adapter

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

272.6M13](/packages/cache-predis-adapter)[contributte/redis

Redis client integration into Nette framework

181.6M2](/packages/contributte-redis)[quick/cache

This is a cache system that uses Redis for rapid caching.

122.7k](/packages/quick-cache)[bnomei/kirby3-redis-cachedriver

Advanced Redis cache-driver with in-memory store, transactions and preloading

101.7k](/packages/bnomei-kirby3-redis-cachedriver)

PHPackages © 2026

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