Category : pusher

currently I’m intalling dependences in one pryect that I cloned yesterday, and I’m having this problem: Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Your lock file does not contain a compatible set of packages. Please run composer update. Problem 1 – pusher/pusher-php-server is locked to ..

Read more

Here is my .env code-> BROADCAST_DRIVER=pusher PUSHER_APP_ID=xxxxx PUSHER_APP_KEY=xxxxx PUSHER_APP_SECRET=xxxxx PUSHER_APP_CLUSTER=xxxxx Here is my config code -> ‘pusher’ => [ ‘driver’ => ‘pusher’, ‘key’ => env(‘PUSHER_APP_KEY’), ‘secret’ => env(‘PUSHER_APP_SECRET’), ‘app_id’ => env(‘PUSHER_APP_ID’), ‘options’ => [ ‘cluster’ => env(‘PUSHER_APP_CLUSTER’), ‘useTLS’ => true, ‘encrypted’ => true, ], ], Here is my event code -> <?php namespace AppEvents; use ..

Read more

I am stuck on the same point for the past two days. I tried all the possible solutions but had no success. Please check my below code and guide me where I am wrong. Error Pusher : : ["Event recd",{"event":"pusher_internal:subscription_succeeded","channel":"private-chat","data":{}}] Pusher : : ["No callbacks on private-chat for pusher:subscription_succeeded"] Event class NewMessageNotification implements ShouldBroadcast { ..

Read more

I have just setup my Laravel notification with pusher in private channel. Everything is working fine on Development Server(127.0.0.1:8000). I have received notification regularly ,but when I tried to run from localhost(http://localhost/) getting authentication error "http://localhost/broadcasting/auth 404 not found". Here is my code: Reportnotification.php public function toArray($notifiable) { return [ ‘message’=>$this->details, ‘link’=> $this->link, ]; } ..

Read more

I’m using notification [database, broadcast] with a pusher, when that notification is executed I put it on the controller : $user->notify(new SendProcess()); will add new data on notification table and send to pusher, and finally in blade file I have managed to catch pusher, like following <script> window.Laravel = {!! json_encode([‘csrfToken’ => csrf_token(), ]); !!}; ..

Read more

I wanted to add some pusher stuff on my app with laravel broadcasting however using broadcast() or event() helpers doesn’t do anything and I have no errors. Added my pusher info to env, changed broadcasting driver from log to pusher and neither worked. Created test event with channel name ‘my-channel’ and event name ‘my-event’. Some ..

Read more