Closed joneyspark closed 3 years ago
Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:
However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.
@driesvints Thanks for the suggestions
Hi, I am using Laravel -v7.x and Vue CLI two different folders for Frontend and Backend. And using Laravel Sanctum (SPA) Authentication. I want to create real-time Notifications when some Events happen in my backend. and I already configured successfully the Websockets and the public Broadcasting working fine. But when I'm trying to using PrivateChannel then backend WebSockets can run the event on the WebSockets panel I see but could not get response on the console. Can you please help me? Below I share my code.
Vue CLI
main.js
App.vue
vue env
.env
Laravel
Hello Event
Hello.php
BroadcastServiceProvider.php
channels.php
laravel env
.env
broadcasting.php
I run the event using tinker
php artisan tinker
event(new App\Events\Hello())