N
N
NewbieL2018-02-17 22:26:09
Laravel
NewbieL, 2018-02-17 22:26:09

How to start using websockets in laravel 5.5?

The main page has data that should change in real time. What do you need to do to get started? Create event php artisan make:event... create broadcastOn() method in it, what should be written in this method? Next, we launch the event using the event method in the controller, what should be in the controller besides launching the event, in my case it will be a request to the database? Do I need to use some services like Pusher?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hopeful_romantic, 2018-02-17
@hopeful_romantic

https://www.youtube.com/playlist?list=PLwAKR305CRO...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question