-
mercure
The Mercure Component allows to easily push updates to web browsers and other HTTP clients using the Mercure protocol. (by symfony)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
To realize a Server-Sent Events in PHP we found a Symfony library symfony/mercure, I saw this library in some article on LinkedIn and it’s the proof that following the right people can be very important.
I have written a little example here to understand well what happens: https://github.com/AlessandroMinoccheri/sse-poc Now if you clone the repository and follow the instructions to install the backend and frontend you can visit the page: http://localhost:8080/ You can see a simple form to submit a bid offer.