Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dev.khosromanesh's avatar

can not show messages received in console with pusher and websocket

for project i used pusher to create realtime chat using laravel 9 . i can send message from front end to backend with api but can not received messages from backend

chat channel created but won't show up anything

Echo.channel('chat').listen('.MyMessage', (e) => {
    console.log(e)
})
0 likes
0 replies

Please or to participate in this conversation.