Broadcasting with Laravel

7

I'm creating a chat and for this I need to do a real-time mode so I do not have to be pinging several times on the server SignalR that does this service, I'm working with Laravel-PHP and read the documentation Broadcasting , but I can not figure out how it works.

What do I need to do:

When a user sends a message, the server notifies the other user that it has a new message, thus avoiding thousands of requests.

Does anyone know how I can perform? That is a fuction of laravel itself or in PHP.

    
asked by anonymous 17.07.2018 / 19:43

1 answer

0

The best example I've seen is this link

    
10.08.2018 / 15:14