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

ActiveLibrary

marcato15/slim-redis-cache
==========================

Redis cache middleware for Slim framework

0.2.0(9y ago)13.2k1Apache-2.0PHPPHP &gt;=5.4.0

Since Sep 6Pushed 9y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (4)Used By (0)

RedisCache
==========

[](#rediscache)

Redis cache middleware for Slim framework.

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

[](#installation)

```
composer require marcato15/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

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~521 days

Total

2

Last Release

3377d ago

### Community

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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