PHPackages                             nhulsch/slim-redis-rlimit - 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. nhulsch/slim-redis-rlimit

AbandonedArchivedLibrary[Caching](/categories/caching)

nhulsch/slim-redis-rlimit
=========================

Slim Middleware for having Rate Limits with Redis

224PHP

Since Aug 17Pushed 9y ago1 watchersCompare

[ Source](https://github.com/nhulsch/slim-redis-rlimit)[ Packagist](https://packagist.org/packages/nhulsch/slim-redis-rlimit)[ RSS](/packages/nhulsch-slim-redis-rlimit/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Slim Redis Ratelimit
====================

[](#slim-redis-ratelimit)

PSR-7 Ratelimiter

Usage
-----

[](#usage)

```
$app = new Slim\App();

$app->add(new \Slim\Middleware\RedisRatelimit('tcp://127.0.0.1:6379', 500, 300));
```

This will be called on every requests and checks if the number of requests (in this case 500) exceeds within 300 seconds.

Class will also check if the Cloudflare UserIP header is set and will use that for tracking.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2807381?v=4)[Nils](/maintainers/nhulsch)[@nhulsch](https://github.com/nhulsch)

---

Top Contributors

[![nhulsch](https://avatars.githubusercontent.com/u/2807381?v=4)](https://github.com/nhulsch "nhulsch (2 commits)")

### Embed Badge

![Health badge](/badges/nhulsch-slim-redis-rlimit/health.svg)

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

###  Alternatives

[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

32136.0k](/packages/beryllium-cachebundle)

PHPackages © 2026

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