danyal14's avatar

WebSockets / Webhook

Hi Guys,

My experience with WebSockets or Webhooks is not that good, I have following use case.

/breakingnews notify platform (website & mobile devices)

I have worked with events & listeners, where I enrich data based on listener.

What should I use to broadcast breakingnews to web and mobile devices, where as they should be listening to same WebSockets for updates.

And what is need at frontend to make it listen and update UI element accordingly.

Regards Danyal

0 likes
1 reply
rodrigo.pedra's avatar

Check this series on Laravel Echo:

https://laracasts.com/series/get-real-with-laravel-echo/

And also this lesson Broadcasting:

https://laracasts.com/series/whats-new-in-laravel-5-6/episodes/2

These won't cover sending push notifications to mobile devices (Android or iOS) but I think there are services on the web that might help you with that. Pusher might do it. I don't have experience with sending those notifications to mobile devices.

1 like

Please or to participate in this conversation.