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

Abandoned → [react-parallel/runtime](/?search=react-parallel%2Fruntime)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

wyrihaximus/react-parallel-runtime
==================================

Convinence wrapper around ext-parallel Runtime for and ReactPHP

1.0.0(6y ago)31.8k[1 PRs](https://github.com/WyriHaximus/reactphp-parallel-runtime/pulls)2MITPHPPHP ^7.3

Since Sep 6Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/WyriHaximus/reactphp-parallel-runtime)[ Packagist](https://packagist.org/packages/wyrihaximus/react-parallel-runtime)[ RSS](/packages/wyrihaximus-react-parallel-runtime/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (3)Used By (2)

ReactPHP Runtime wrapper for ext-parallel
=========================================

[](#reactphp-runtime-wrapper-for-ext-parallel)

[![Linux Build Status](https://camo.githubusercontent.com/9967694229f8fba15ab356f37f92722b935ca84376182dfc77dcdfb2e3667807/68747470733a2f2f7472617669732d63692e636f6d2f57797269486178696d75732f72656163747068702d706172616c6c656c2d72756e74696d652e706e67)](https://travis-ci.com/WyriHaximus/reactphp-parallel-runtime)[![Latest Stable Version](https://camo.githubusercontent.com/c1364eaa0fb50255a1193537ae15b61886564645c2169d0c120da8e6bea950e4/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f72656163742d706172616c6c656c2d72756e74696d652f762f737461626c652e706e67)](https://packagist.org/packages/WyriHaximus/react-parallel-runtime)[![Total Downloads](https://camo.githubusercontent.com/1380895a19e989f334887969bc6df3a6dd9bf434bc860d348063407202f071cc/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f72656163742d706172616c6c656c2d72756e74696d652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/WyriHaximus/react-parallel-runtime)[![Code Coverage](https://camo.githubusercontent.com/403575a16fa9e88d065fc84fd764c851d92d65a30fcb0bc9132538ac56e5dd3c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f57797269486178696d75732f72656163747068702d706172616c6c656c2d72756e74696d652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/WyriHaximus/reactphp-parallel-runtime/?branch=master)[![License](https://camo.githubusercontent.com/58376cdbca8d3babf127ad4b292cbf69e275113e91b08e49c3f8fb43762a2ad5/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f72656163742d706172616c6c656c2d72756e74696d652f6c6963656e73652e706e67)](https://packagist.org/packages/wyrihaximus/react-parallel-runtime)[![PHP 7 ready](https://camo.githubusercontent.com/c4aabb0a00fbfd81b7fba14c24048fc8b203fcfad60b6e47b3902d162b296bd1/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f57797269486178696d75732f72656163747068702d706172616c6c656c2d72756e74696d652f62616467652e737667)](https://travis-ci.org/WyriHaximus/reactphp-parallel-runtime)

### Installation

[](#installation)

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

```
composer require wyrihaximus/react-parallel-runtime

```

Usage
=====

[](#usage)

```
$autoloader = \dirname(__DIR__) . '/vendor/autoload.php';
require $autoloader;

$loop = Factory::create();
$runtime = new Runtime(new FutureToPromiseConverter($loop), $autoloader);

$runtime->run(function () {
    sleep(3);

    return 3;
})->then(function (int $int): void {
    echo $int, PHP_EOL;
});

$loop->run();
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

Copyright 2019 [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

34

—

LowBetter than 77% of packages

Maintenance43

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community11

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

2437d ago

### 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 (35 commits)")

---

Tags

hacktoberfest

### Embed Badge

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

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

###  Alternatives

[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k234.7M20.6k](/packages/friendsofphp-php-cs-fixer)[react/react

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

9.1k3.6M63](/packages/react-react)[react/stream

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

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

Event-driven library for executing child processes with ReactPHP.

34076.1M136](/packages/react-child-process)[react/zmq

ZeroMQ bindings for React.

2471.7M31](/packages/react-zmq)[carlosbuenosvinos/ddd

Domain-Driven Design PHP helper classes (Application Services, Transactions, Domain Events, etc.

665193.1k4](/packages/carlosbuenosvinos-ddd)

PHPackages © 2026

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