2
I see many sites using pushcrew (or other services) to send notifications, even if the browser is closed.
My question would be, is it possible to do this directly using the HTML 5 Notification API?
How to send notifications via PHP and they receive even with the screen closed?
Where should I start my research?
My question would be, how to have the service directly, why should I always use something third? What would I need to have my own service?
– Roberta
@Roberta Updated. I hope it helps.
– usuario
just use the Websocket protocol correctly. As @Newtech said, PHP might not be the best tool for this. However, you have an interesting agnostic guide here: https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers
– Daniel