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

ActiveLibrary

react-parallel/react-parallel
=============================

🌉 Bridging ext-parallel and ReactPHP

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

Since Aug 8Pushed 2mo ago1 watchersCompare

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

READMEChangelog (4)Dependencies (10)Versions (11)Used By (2)

ReactPHP bindings around ext-parallel
=====================================

[](#reactphp-bindings-around-ext-parallel)

[![Continuous Integration](https://github.com/reactphp-parallel/reactphp-parallel/workflows/Continuous%20Integration/badge.svg)](https://github.com/reactphp-parallel/reactphp-parallel/workflows/Continuous%20Integration/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/52b26184aedc147517f1e3c9855c96e3660f68a8072df369ac43fe3a166e2cf1/68747470733a2f2f706f7365722e707567782e6f72672f72656163742d706172616c6c656c2f72656163742d706172616c6c656c2f762f737461626c652e706e67)](https://packagist.org/packages/react-parallel/react-parallel)[![Total Downloads](https://camo.githubusercontent.com/17f23d09d0b32637c678f532a6a5ad9a7a746ed9507023370bed0dec673565f8/68747470733a2f2f706f7365722e707567782e6f72672f72656163742d706172616c6c656c2f72656163742d706172616c6c656c2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/react-parallel/react-parallel)[![Code Coverage](https://camo.githubusercontent.com/f4ad96f868e3937348543738f14f0468fe7ca9dc840854d13d77b34802b91787/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f72656163747068702d706172616c6c656c2f72656163747068702d706172616c6c656c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/reactphp-parallel/reactphp-parallel/?branch=master)[![Type Coverage](https://camo.githubusercontent.com/bcb99d9b33bfa6e185cc696fa656168b68073f186cc70884b396ebeed5e4f53b/68747470733a2f2f73686570686572642e6465762f6769746875622f72656163747068702d706172616c6c656c2f72656163747068702d706172616c6c656c2f636f7665726167652e737667)](https://shepherd.dev/github/reactphp-parallel/reactphp-parallel)[![License](https://camo.githubusercontent.com/b48c5e62c5b17b329f365a25f45743fa674da087bd4c9df02fc1c407954aabd0/68747470733a2f2f706f7365722e707567782e6f72672f72656163742d706172616c6c656c2f72656163742d706172616c6c656c2f6c6963656e73652e706e67)](https://packagist.org/packages/react-parallel/react-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/react-parallel

```

Usage
-----

[](#usage)

The factory in this package provides the following methods for quick and shared access to low level components.

```
$loop = EventLoopFactory::create();
$factory = new Factory($loop);
$factory->loop(); // Returns the event loop, mainly for convenience
$factory->eventLoopBridge(); // Returns the event loop bridge, used as a central place to translate channels and futures to observables and promises
$factory->streams(); // Returns the stream factory, which provides high level stream abstractions
$factory->call(function (int $time): int {
    return $time;
}, [time()]); // Executes the closure passed into this method in a thread and returns a promises for any results coming out of that closure
$factory->lowLevelPool(); // Returns a low level pool that will scale infinitely (as a long as you have resources enough to scale)
$factory->limitedPool(12); // Returns a limited pool with a maximum number of threads specified by you
```

Metrics
-------

[](#metrics)

This package supports metrics through [`wyrihaximus/metrics`](https://github.com/wyrihaximus/php-metrics):

```
use ReactParallel\Factory;
use ReactParallel\Metrics;
use WyriHaximus\Metrics\Configuration;
use WyriHaximus\Metrics\InMemory\Registry;

$registry = new Registry(Configuration::create());
$factory = (new Factory())->withMetrics(Metrics::create($registry));
```

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

52

—

FairBetter than 96% of packages

Maintenance69

Regular maintenance activity

Popularity33

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 85.9% 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 ~490 days

Total

5

Last Release

149d ago

Major Versions

1.1.0 → 2.0.02025-02-11

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 (146 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)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (3 commits)")

---

Tags

ext-parallelhacktoberfestparallelreactphpthread-poolthreadingthreads

### Embed Badge

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

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

###  Alternatives

[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

41.5k328.9k1](/packages/ccxt-ccxt)[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[laravel-workflow/laravel-workflow

Durable workflow engine that allows users to write long running persistent distributed workflows (orchestrations) in PHP powered by Laravel queues.

1.2k446.6k6](/packages/laravel-workflow-laravel-workflow)[team-reflex/discord-php

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

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

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

134391.5k12](/packages/rector-rector-src)

PHPackages © 2026

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