Level 1
I suggest you check this example https://github.com/cmgmyr/laravel-messenger-pusher-demo
Main repository can be found here: https://github.com/cmgmyr/laravel-messenger
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm using pusher in part of my Laravel application as a chat service. My question is how do I only send events to a specific user?
The worse case scenario I thought about was set the channel to the user_id and when a new message don't send the message just tell jQuery to reload the page. But, i'd prefer a better option than this.
Thanks,
Cameron
I suggest you check this example https://github.com/cmgmyr/laravel-messenger-pusher-demo
Main repository can be found here: https://github.com/cmgmyr/laravel-messenger
Please or to participate in this conversation.