PHPackages                             php-http/throttle-plugin - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. php-http/throttle-plugin

ActiveLibrary[HTTP &amp; Networking](/categories/http)

php-http/throttle-plugin
========================

Throttle/request limiter plugin for HTTPlug

1.1.0(1y ago)213.7k↓44.8%2[1 issues](https://github.com/php-http/throttle-plugin/issues)1MITPHPPHP &gt;=7.4

Since Feb 23Pushed 1y ago4 watchersCompare

[ Source](https://github.com/php-http/throttle-plugin)[ Packagist](https://packagist.org/packages/php-http/throttle-plugin)[ Docs](https://github.com/php-http/throttle-plugin)[ RSS](/packages/php-http-throttle-plugin/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (3)Used By (1)

Throttle Plugin
===============

[](#throttle-plugin)

PHP-HTTP plugin for throttling/rate limiting with the [symfony/rate-limiter](https://symfony.com/doc/current/rate_limiter.html)

> Warning: Plugin currently utilizes usleep() and hence is blocking whole process while waiting

Install
-------

[](#install)

Via [Composer](https://getcomposer.org/doc/00-intro.md)

```
composer require php-http/throttle-plugin
```

Usage
-----

[](#usage)

```
new \Http\Client\Common\Plugin\ThrottlePlugin(
    (new \Symfony\Component\RateLimiter\RateLimiterFactory(
        ['id' => 'foo', 'policy' => 'fixed_window', 'limit' => 2, 'interval' => '3 seconds'],
        new \Symfony\Component\RateLimiter\Storage\InMemoryStorage(),
    ))->create(),
);
```

Licensing
---------

[](#licensing)

MIT license. Please see [License File](LICENSE) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance22

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~841 days

Total

2

Last Release

703d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/76576?v=4)[David Buchmann](/maintainers/dbu)[@dbu](https://github.com/dbu)

![](https://www.gravatar.com/avatar/2f56471f595636876f95264fa5c455d611329a4820193f88d22e83a5bd900292?d=identicon)[ostrolucky](/maintainers/ostrolucky)

---

Top Contributors

[![dbu](https://avatars.githubusercontent.com/u/76576?v=4)](https://github.com/dbu "dbu (3 commits)")[![ostrolucky](https://avatars.githubusercontent.com/u/496233?v=4)](https://github.com/ostrolucky "ostrolucky (3 commits)")[![Big-Shark](https://avatars.githubusercontent.com/u/646054?v=4)](https://github.com/Big-Shark "Big-Shark (1 commits)")[![reyostallenberg](https://avatars.githubusercontent.com/u/3579090?v=4)](https://github.com/reyostallenberg "reyostallenberg (1 commits)")

---

Tags

httppluginhttplugthrottleratelimit

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-http-throttle-plugin/health.svg)

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

###  Alternatives

[php-http/logger-plugin

PSR-3 Logger plugin for HTTPlug

29025.3M69](/packages/php-http-logger-plugin)[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25024.2M71](/packages/php-http-cache-plugin)[php-http/stopwatch-plugin

Symfony Stopwatch plugin for HTTPlug

26721.1M3](/packages/php-http-stopwatch-plugin)[php-http/client-common

Common HTTP Client implementations and tools for HTTPlug

1.1k225.5M571](/packages/php-http-client-common)[php-http/httplug-bundle

Symfony integration for HTTPlug

38921.0M54](/packages/php-http-httplug-bundle)[friendsofsymfony/http-cache

Tools to manage HTTP caching proxies with PHP

36114.7M36](/packages/friendsofsymfony-http-cache)

PHPackages © 2026

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