I recently setup Laravel Echo and Broadcasting, first with pusher and then switched it to laravel-websockets. It is working very well and I can join channels, show online status, broadcadt messages from the backend etc. The only "problem" i have is that when a user reloads a page or changes a route, the user will be shown offline for a second or two because the connection is closed (leave) and then reconnected upon page load. It's not a big deal, but in the past I used a combination of socket.io (client) and nodejs/socket io and there was an option to enforce the usage of a single socket and it had the option to delay the leave/reconnect so there was no short "online/offline/online".
So m
