How to track user who left the channel (Laravel Echo)?

  echo, laravel

I created channel with laravel echo (socket io).
When user leave the channel by Echo.leaveChannel('channel')
Or if he would leave the channel not on purpose (Lost Internet connection) I see it at cmd (Laravel Echo Server). But how can I create event when user left to notificate the others about it?

Source: Laravel

Leave a Reply