Announcing v2.0 of amphp/process compatible with
AMPHP v3 and fibers! ๐
https://github.com/amphp/process/releases/tag/v2.0.0
The process package provides cross-platform #async execution and communication with child processes from #PHP. Awaiting output from a process in a coroutine will not prevent receiving output from another process in another coroutine!
This example pings 5 hosts concurrently in 5 separate child processes. Output from STDOUT of each process is piped to STDOUT in the parent process.