1 min readDec 14, 2018
The way I see it, you are not using Javascript at all ?
Socket.io is a bridge between your server and your frontend. Check the tutorial again.
You need:
1. Laravel Event
2. Broadcast via Redis
3. Laravel Echo (with Vue JS or some other framework) will receive that
4. Use your Javascript to render the notification badge on there