hhxsv5 / php-sse

A simple and efficient library implemented HTML5's server-sent events by PHP, is used to real-time push events from server to client, and easier than Websocket, instead of AJAX request.
MIT License
426 stars 49 forks source link

Symfony example #3

Closed dunglas closed 6 years ago

dunglas commented 6 years ago

This snippet will work perfectly well in a Symfony controller too.

hhxsv5 commented 6 years ago

👍Yeah, Laravel is base on Symfony. Thank you.