AMPHP is a collection of event-driven libraries for PHP designed with fibers and concurrency in mind.
amphp/amp specifically provides futures and cancellations as fundamental primitives for asynchronous programming.
We're now using Revolt instead of shipping an event loop implementation with amphp/amp.
Amp makes heavy use of fibers shipped with PHP 8.1 to write asynchronous code just like synchronous, blocking code. In
contrast to earlier versions, there's no need for generator based coroutines or callbacks. Similar to threads, each
fiber has its own call stack, but fibers are scheduled cooperatively by the event loop. Use Amp\async() to run things
concurrently.