Adnan Sabanovic
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

--

--

Adnan Sabanovic
Adnan Sabanovic

Written by Adnan Sabanovic

Just a tech guy involved in mastering life using mental and physical discipline. Journaling about productivity, personal development and overall growth. #Life

Responses (1)