Category: Laravel, javascript

The most common method to create realtime website or create notification on your webapp are with websocket like with socket.io, firebase or pusher. But in this time i want share different way to do it. I using Server Send Event (SSE) to create notification.

And server push event data stream, it’s similiar with websocket method but different just we do not needed a broker to send it.

Note: I was using it in my last project and it working charm in chrome but little lagging on firefox.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners