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 3w 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 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2065d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16406839?v=4)[Dılo abinin yeri ](/maintainers/diloabininyeri)[@diloabininyeri](https://github.com/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

[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[rhubarbgroup/redis-cache

A persistent object cache backend for WordPress powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.

527101.4k1](/packages/rhubarbgroup-redis-cache)[symfony-bundles/redis-bundle

Symfony Redis Bundle

291.2M7](/packages/symfony-bundles-redis-bundle)[millipress/millicache

WordPress Full-Page Cache based on Rules &amp; Flags. Delivers flexible, scalable caching workflows backed by Redis and ValKey in-memory stores.

722.9k2](/packages/millipress-millicache)[pdffiller/qless-php

PHP Bindings for qless

29113.7k2](/packages/pdffiller-qless-php)[lion/bundle

Lion-framework configuration and initialization package

122.3k4](/packages/lion-bundle)

PHPackages © 2026

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