Asynchronous PHP with ReactPHP
summary
Shows an actual async PHP consumer built with ReactPHP + Bunny that reads JSON‑LD orders from RabbitMQ, sends per‑line‑item HTTP POSTs with Promise\all, and only acknowledges messages after all requests resolve. Uses composer, react/http, and the async Bunny client; demo processes 3 million queued messages in ~20 seconds (~100k msgs/s) on one core. Code works as a proof of concept but lacks production error handling for rejected promises and edge cases.
AI-written summary · about
