PHPackages                             wpjscc/reactphp-request-limiter - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wpjscc/reactphp-request-limiter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wpjscc/reactphp-request-limiter
===============================

v1.0.0(2y ago)04MITPHP

Since Nov 9Pushed 2y ago1 watchersCompare

[ Source](https://github.com/wpjscc/reactphp-request-limiter)[ Packagist](https://packagist.org/packages/wpjscc/reactphp-request-limiter)[ RSS](/packages/wpjscc-reactphp-request-limiter/feed)WikiDiscussions master Synced 1mo ago

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

reactphp-request-limiter
========================

[](#reactphp-request-limiter)

install
-------

[](#install)

```
composer require  reactphp-request-limiter -vvv

```

Usage
-----

[](#usage)

```
    require __DIR__ . '/vendor/autoload.php';

    use Wpjscc\Request\Limiter;

    // 10 request per second, when third parameter is true, it will be queue to handle
    $limiter = new Limiter(10, 1000, false);

    $limiter->on('data', function ($key, $data) {
       echo $key . ' is completed ' . PHP_EOL;
    });

    for ($i=0; $i < 100; $i++) {
        $limiter->addHandle($i, function () {
            return \React\Promise\resolve(true);
        });
    }
```

tests
-----

[](#tests)

```
./vendor/bin/phpunit tests

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

921d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wpjscc-reactphp-request-limiter/health.svg)

```
[![Health](https://phpackages.com/badges/wpjscc-reactphp-request-limiter/health.svg)](https://phpackages.com/packages/wpjscc-reactphp-request-limiter)
```

###  Alternatives

[react/stream

Event-driven readable and writable streams for non-blocking I/O in ReactPHP

689126.8M194](/packages/react-stream)[react/child-process

Event-driven library for executing child processes with ReactPHP.

34076.1M136](/packages/react-child-process)[alchemy/binary-driver

A set of tools to build binary drivers

19110.9M39](/packages/alchemy-binary-driver)[react/zmq

ZeroMQ bindings for React.

2471.7M31](/packages/react-zmq)[mkraemer/react-pcntl

PCNTL bindings for ReactPHP

57289.0k9](/packages/mkraemer-react-pcntl)[wyrihaximus/react-child-process-pool

Pool wyrihaximus/react-child-process-messenger processes

40244.4k5](/packages/wyrihaximus-react-child-process-pool)

PHPackages © 2026

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