PHPackages                             greendrake/php-asyncprocess - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. greendrake/php-asyncprocess

ActiveLibrary[Queues &amp; Workers](/categories/queues)

greendrake/php-asyncprocess
===========================

ReactPHP Promise implementation for truly asynchronous background processes

1.0.0(2y ago)10BSD-3-ClausePHPPHP &gt;=8.2.0CI passing

Since Oct 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/greendrake/php-asyncprocess)[ Packagist](https://packagist.org/packages/greendrake/php-asyncprocess)[ RSS](/packages/greendrake-php-asyncprocess/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (4)Versions (2)Used By (0)

php-asyncprocess
================

[](#php-asyncprocess)

[ReactPHP Promise](https://reactphp.org/promise/) implementation for truly asynchronous background processes.

This library allows to run commands in background shaped as ReactPHP Promises. Non-blocking. Tested on Linux only.

Under the hood, it works this way:

1. A child process is forked using [pcntl\_fork](https://www.php.net/manual/en/function.pcntl-fork.php). This runs the specified command and reports the result back to the parent process via a local HTTP call (using a one-off [reactphp/http](https://github.com/reactphp/http) server/client).
2. Once the parent process gets the result, it fulfils (or rejects, depending on the exit code) the Promise. Profit.

Example:

```
use function React\Async\await;
$p = new \Greendrake\AsyncProcess\Promise('a=$( expr 10 - 3 ); echo $a'); // Kick off the process in background.
$result = await($p->get()); // Get the instance of React\Promise\Promise, wait for it to resolve.
echo $result; // outputs "7"
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

992d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d015d8a17f31512b2c56d21a6dae85e018204da94c28fcde733aed786f9b2d88?d=identicon)[greendrake](/maintainers/greendrake)

---

Top Contributors

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

---

Tags

asynchronousbackground-jobspromiseasyncasynchronouspromiseprocessbackground

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/greendrake-php-asyncprocess/health.svg)

```
[![Health](https://phpackages.com/badges/greendrake-php-asyncprocess/health.svg)](https://phpackages.com/packages/greendrake-php-asyncprocess)
```

###  Alternatives

[ccxt/ccxt

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

43.2k341.0k1](/packages/ccxt-ccxt)[amphp/amp

A non-blocking concurrency framework for PHP applications.

4.4k133.8M429](/packages/amphp-amp)[react/promise-timer

A trivial implementation of timeouts for Promises, built on top of ReactPHP.

34148.1M113](/packages/react-promise-timer)[react/promise-stream

The missing link between Promise-land and Stream-land for ReactPHP

11613.2M48](/packages/react-promise-stream)[recoil/react

Integrate Recoil with ReactPHP.

32286.7k13](/packages/recoil-react)[clue/docker-react

Async, event-driven access to the Docker Engine API, built on top of ReactPHP.

113163.3k1](/packages/clue-docker-react)

PHPackages © 2026

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