Laravel Websockets is a Laravel package that can handle the server side of WebSockets, written in PHP.

With it, we don't have to use Pusher or laravel-echo-server anymore. It has extensive documentation and a demo application you can play with.

laravel websocket

We can use this package to build real-time features, such as: notifications, chat, etc.


Drop-in Pusher replacement

SSL support

Laravel Echo support

The package also comes with a dashboard, which we can use to monitor concurrent connections and events.

laravel websocket dashboard


Source Code