Broadcasting with Laravel

Asked

Viewed 169 times

7

I’m creating a chat and for that I need to do a real-time mode so I don’t have to drip several times on the server SignalR who does this job, I’m working with Laravel-PHP and read the documentation Broadcasting, but I can’t understand how it works.

What I need to do:

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

Does anyone know how I can accomplish? Let it be a fuction of its own or in PHP.

  • Da to do with Lockable however is not recommended, best way is to use websockets

1 answer

0


  • yes then it uses the push obg

Browser other questions tagged

You are not signed in. Login or sign up in order to post.