Ad

Is There Way To Use Realtime Event Handling Like Pusher For Local Network?

I'm working on a project for an organization which has a local network and the servers don't have access to the internet. I new to Vue and real-time events. So is there a way to use services like pusher or socket.io offline? there is this package "tristandunn/pusher-fake" does this do the job or not? Thanks alot

Ad

Answer

Sure there is. You can easliy host your own socket.io server. tlaverdure/laravel-echo-server is a great example of this.

Since a few months, there is also a php-based Laravel package to handle websockets: https://github.com/beyondcode/laravel-websockets

Ad
source: stackoverflow.com
Ad