OpenSwoole
OpenSwoole is a PHP extension for coroutines and async I/O that forked from Swoole and shares its API surface.
OpenSwoole project site · adapter: fiber-interop/swoole (shared)
composer require fiber-interop/swoole # with ext-openswoole loaded
Conformance and test status
| Conformance examples (of 25) | 25/25 |
|---|---|
| Adapter unit tests | no separate adapter |
| CI | The conformance numbers come from the site's daily CI run (conformance.json, PHP 8.4.27, 2026-11-11) |
| Skipped | None in the conformance suite (not run) |
Differences
There is no separate OpenSwoole adapter. The swoole adapter README states it requires ext-swoole 6.x or ext-openswoole (tested 26.2.0); its probes give the same results on Swoole 6.3 and OpenSwoole 26.2. The site's conformance.php has an only=openswoole mode for CI, but the committed snapshot has no OpenSwoole entry, so no conformance number is published here.
Beyond the contract
Fully conformant (25/25). Scope follows tasks started with fiber\go(); coroutines started with OpenSwoole's go() don't inherit it. Not assessed beyond the above: the adapter for Swoole is documented to work on OpenSwoole 26.2 unchanged, and the same missing coroutine-switch hook applies. A dedicated adapter would be the same code against the same API (Coroutine, Channel, Co\run, context-keyed scope provider); this was read from the swoole README, not tested separately.