Laravel Websockets and Events Part 2/3 [Laravel Websocket, Echo & Sanctum]
Вставка
- Опубліковано 1 жов 2024
- Part 2: Implementation of Laravel Websockets for Upcoming Laravel Tutorial where We'll be Using Websockets with Laravel Echo for a Private Channel with Sanctum as a Guard.
github.com/kri...
HOW DO YOU SOLEVE THIS ?
Problem 1
- beyondcode/laravel-websockets[1.12.0, ..., 1.x-dev] require guzzlehttp/psr7 ^1.5 -> found guzzlehttp/psr7[1.5.0, ..., 1.x-dev] but the package is fixed to 2.0.0
Delete composer.lock file and try
how we configure larvel echo with anguler and how to call websocket api to listen channel' s event
Do yo still need info?
hey thank you for the tutorial but can find the link to the git repo
github.com/kritish-dhaubanjar/laravel-websockets-sanctum
@@theGimmickBox i have been working with laravel 8 and sanctum for authentication but private channels keep getting unauthenticated. followed the documentation watched many tutorials but can fix it yet... i dont know if ur nt to busy to help?
We'll be happy to look into your issues, and more than happy if we could or would be able to resolve it. You can contact us via our mail.