laravel-websockets is a Laravel package that can handle the server side of WebSockets entirely. It completely replaces the need for a service like Pusher or a JavaScript-based laravel-echo-server. It has extensive documentation and a demo application you can play with.

With Laravel Websockets, you do not need any additional software to start your own WebSocket server. Forget about Node and use the power of PHP. Built-in Laravel Echo support out of the box and you can use it right away as a drop-in local Pusher replacement.

Finally the package is battle-tested in real-world applications and can serve high traffic websites easily.  Marcel Pociot & Freek Van der Herten have written a very detailed article on using Laravel-websocket, Released under an MIT license.

LEAVE A REPLY

Please enter your comment!
Please enter your name here