PHPackages                             zeus/throttle - 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. zeus/throttle

ActiveLibrary[Caching](/categories/caching)

zeus/throttle
=============

php throttler library package

1.0.0(5y ago)2132MITPHPPHP &gt;=7.4

Since Nov 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/diloabininyeri/throttle)[ Packagist](https://packagist.org/packages/zeus/throttle)[ RSS](/packages/zeus-throttle/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

#### PHP rate limit library with redis

[](#php-rate-limit-library-with-redis)

install with composer

```
composer require zeus/throttle
```

Sets http request limitations, such as only 100 accesses in 10 minutes Powerful redis handles HTTP requests, you can easily integrate it into all api or projects

```
use Throttle\Throttle;
use Throttle\Time;

$throttle = new Throttle(
    new Time(60, 25)
);

$throttle->commit();

if ($throttle->isHasAccessLimit()) {
    print 'request can go next';
} else {
    print 'max request amount';
}

```

#### if you want to configure a redis client

[](#if-you-want-to-configure-a-redis-client)

```
use Throttle\Throttle;
use Throttle\Time;
use Throttle\Redis;

Redis::setRedisClient(new \Predis\Client($params));

$throttle = new Throttle(
    new Time(60, 25)
);

$throttle->commit();

if ($throttle->isHasAccessLimit()) {
    print 'request can go next';
} else {
    print 'max request amount';
}
```

Get detail

```
$throttle->getDetail()->toArray();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2019d ago

### Community

Maintainers

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

---

Top Contributors

[![diloabininyeri](https://avatars.githubusercontent.com/u/16406839?v=4)](https://github.com/diloabininyeri "diloabininyeri (11 commits)")

---

Tags

composer-packagehttpphp-libraryrate-limitredisthrottleunion

### Embed Badge

![Health badge](/badges/zeus-throttle/health.svg)

```
[![Health](https://phpackages.com/badges/zeus-throttle/health.svg)](https://phpackages.com/packages/zeus-throttle)
```

###  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)
