fiber-interop

Runtimes

The same program runs on each of these through one adapter package. Status below is read from each adapter's repository; where nothing is documented the page says so.

Revolt

Revolt is a PHP event loop built on fibers; AMPHP, and other libraries, run on it.

Adapter: fiber-interop/revolt
Conformance:
Status and notes · Revolt site

AMPHP

AMPHP is a collection of non-blocking PHP libraries; amphp/amp 3 is built on fibers and the Revolt event loop.

Adapter: fiber-interop/amp
Conformance:
Status and notes · AMPHP site

ReactPHP

ReactPHP is an event-driven, non-blocking I/O toolkit for PHP; react/async provides fiber-based async() and await().

Adapter: fiber-interop/react
Conformance:
Status and notes · ReactPHP site

Swoole

Swoole is a PHP extension providing coroutines, an event loop and async I/O. Its coroutines are not PHP Fibers.

Adapter: fiber-interop/swoole
Conformance:
Status and notes · Swoole site

OpenSwoole

OpenSwoole is a PHP extension for coroutines and async I/O that forked from Swoole and shares its API surface.

Adapter: fiber-interop/swoole (shared)
Conformance:
Status and notes · OpenSwoole site

TrueAsync

TrueAsync is asynchronous PHP: coroutines (Async\spawn) on its own scheduler over libuv, in a PHP 8.6 build with the true_async extension. Its engine RFC is async_scheduler_abi. Its coroutines are not PHP Fibers.

Adapter: fiber-interop/trueasync
Conformance:
Status and notes · TrueAsync site

phasync

phasync is a PHP library for fiber-based concurrency with its own event loop, coroutines and services.

Adapter: fiber-interop/phasync
Conformance:
Status and notes · phasync site

Conformance: the examples of the conformance suite, computed from conformance.json (see the matrix); TrueAsync runs the 22 examples of the current suite on PHP 8.6 in CI. Logos are trademarks of their respective projects and are used to identify them; no endorsement is implied. Where no logo is shown, none was usable; accent colours are ours unless a logo gives one. See assets/LOGOS.md.