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

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners