How to use Laravel Echo Server
In my opinion, real-time apps are the future. Socket servers usually were not that easy to setup, but Laravel Echo Server changes this.
In this article, I’ll briefly show you how to quickly whip up a working socket server and broadcast events over the server. (https://github.com/tlaverdure/laravel-echo-server, supported by Laravel’s docs: https://laravel.com/docs/5.6/broadcasting#driver-prerequisites)
This is completely free, you only have to run the socket server yourself. You can also use pusher which is also integrated with Laravel by default, only downside is that this comes with limits, whenever you reach a limit you will have to pay. I like to be independent and host these things myself if I get the chance.
This post is submitted by one of our members. You may submit a new post here.