Asynchronous PHP

Running the code asynchronously

Demo

Step by step refactor from synchronous code to full resilient asynchronous code

Read Blog Post

Read more about Asynchronous in PHP and Ecotonearrow-up-right

Building Reactive Message-Driven Systems in PHParrow-up-right

Code Example

Let's create Event Order was placed.

And Event Handler that will be listening to the OrderWasPlaced.

Let's Ecotone that we want to run this Event Handler Asynchronously using RabbitMQarrow-up-right

Running The Example

Last updated

Was this helpful?