There are a number of other PHP frameworks that implement the asynchronous programming model. We cover ReactPHP, the most popular of the PHP async frameworks, as well as Amp, another popular PHP async framework. In addition, we show how selected PHP frameworks can be used in async mode.

It’s important to note that many of the PHP frameworks able to operate in asynchronous mode have a dependency on the Swoole extension. The one that does not have this dependency is ReactPHP, covered next.

Working with ReactPHP

ReactPHP is an implementation of the Reactor software design pattern and was inspired by the non-blocking asynchronous Node.js framework among others.

Get hands-on with 1200+ tech skills courses.