PHPackages                             react-parallel/limited-pool - 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. react-parallel/limited-pool

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

react-parallel/limited-pool
===========================

🏔️ Limited pool for ext-parallel

2.1.0(11mo ago)225.7k↓41.7%[1 issues](https://github.com/reactphp-parallel/limited-pool/issues)[5 PRs](https://github.com/reactphp-parallel/limited-pool/pulls)1MITMakefilePHP ^8.3CI passing

Since Aug 5Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/reactphp-parallel/limited-pool)[ Packagist](https://packagist.org/packages/react-parallel/limited-pool)[ GitHub Sponsors](https://github.com/WyriHaximus)[ RSS](/packages/react-parallel-limited-pool/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (5)Dependencies (12)Versions (14)Used By (1)

Limited Pool
============

[](#limited-pool)

[![Continuous Integration](https://github.com/Reactphp-parallel/limited-pool/workflows/Continuous%20Integration/badge.svg)](https://github.com/Reactphp-parallel/limited-pool/workflows/Continuous%20Integration/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/4e9326f9c4fd85a27b7c9a865abcdc65adfb1a46c0c0701a1c3a13e7f88e3be7/68747470733a2f2f706f7365722e707567782e6f72672f52656163742d706172616c6c656c2f6c696d697465642d706f6f6c2f762f737461626c652e706e67)](https://packagist.org/packages/React-parallel/limited-pool)[![Total Downloads](https://camo.githubusercontent.com/c249b3033ff131fa614b79d35c0fd9f804cad1020560594c20603e2cc5252b34/68747470733a2f2f706f7365722e707567782e6f72672f52656163742d706172616c6c656c2f6c696d697465642d706f6f6c2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/React-parallel/limited-pool)[![Code Coverage](https://camo.githubusercontent.com/d158082a2c0fa9b581c81abf6c1179a36f63fdc9d65ff782360ce7dfd1174201/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f52656163747068702d706172616c6c656c2f6c696d697465642d706f6f6c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Reactphp-parallel/limited-pool/?branch=master)[![Type Coverage](https://camo.githubusercontent.com/9c130a98b41640713664564c94e35e9d8375c6d502e46aa497a71488817d9a4d/68747470733a2f2f73686570686572642e6465762f6769746875622f52656163747068702d706172616c6c656c2f6c696d697465642d706f6f6c2f636f7665726167652e737667)](https://shepherd.dev/github/Reactphp-parallel/limited-pool)[![License](https://camo.githubusercontent.com/e31e42b8648e17f9a1613e1a86a1f0016500282a2072adc11df594588bca327d/68747470733a2f2f706f7365722e707567782e6f72672f52656163742d706172616c6c656c2f6c696d697465642d706f6f6c2f6c6963656e73652e706e67)](https://packagist.org/packages/React-parallel/limited-pool)

ReactPHP bindings around ext-parallel

Install
-------

[](#install)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `~`.

```
composer require react-parallel/limited-pool

```

Usage
-----

[](#usage)

Just like any other `react-parallel` the limited pool will run any closure you send to it. With the exception that this pool have a fixed number of threads running.

```
use React\EventLoop\Loop;
use ReactParallel\EventLoop\EventLoopBridge;
use ReactParallel\Pool\Infinite\Infinite;
use ReactParallel\Pool\Limited\Limited;
use function React\Async\async;

$limited = new Limited(
    new Infinite(new EventLoopBridge(), 1), // Another pool, preferably an inifinite pool
    100 // The amount of threads to start and keep running
);
$time = time();

Loop::futureTick(async(static function () use ($limited, $time) {
    echo 'Unix timestamp: ', $limited->run(function (int $time): int {
        return $time;
    }, [$time]), $time, PHP_EOL;
}));
```

License
-------

[](#license)

Copyright 2025 [Cees-Jan Kiewiet](http://wyrihaximus.net/)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance61

Regular maintenance activity

Popularity29

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 83.1% 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

Every ~392 days

Recently: every ~451 days

Total

6

Last Release

149d ago

Major Versions

1.0.2 → 2.0.02025-02-10

PHP version history (4 changes)1.0.0PHP ^7.4

2.0.0PHP ^8.1

2.1.0PHP ^8.3

2.x-devPHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (138 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (16 commits)")[![reactphp-parallel-renovate-runner[bot]](https://avatars.githubusercontent.com/u/56447449?v=4)](https://github.com/reactphp-parallel-renovate-runner[bot] "reactphp-parallel-renovate-runner[bot] (12 commits)")

---

Tags

hacktoberfestlimitedphppoolreactphp

### Embed Badge

![Health badge](/badges/react-parallel-limited-pool/health.svg)

```
[![Health](https://phpackages.com/badges/react-parallel-limited-pool/health.svg)](https://phpackages.com/packages/react-parallel-limited-pool)
```

###  Alternatives

[react/react

ReactPHP: Event-driven, non-blocking I/O with PHP.

9.1k3.6M63](/packages/react-react)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k379.4k24](/packages/team-reflex-discord-php)[internal/dload

Downloads binaries.

98142.7k10](/packages/internal-dload)[wyrihaximus/react-cron

⏱️ Cronlike scheduler running inside the ReactPHP Event Loop

4050.6k](/packages/wyrihaximus-react-cron)[wyrihaximus/react-child-process-messenger

Messenger decorator for react/child-process

32279.4k4](/packages/wyrihaximus-react-child-process-messenger)[mention/retry

A Retry library for PHP

1324.5k](/packages/mention-retry)

PHPackages © 2026

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