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 Ecotone

Building Reactive Message-Driven Systems in PHP

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 RabbitMQ

Running The Example

Last updated

Was this helpful?