Download the PHP package cavaon-wayne/pusher-php-client without Composer
On this page you can find all versions of the php package cavaon-wayne/pusher-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cavaon-wayne/pusher-php-client
More information about cavaon-wayne/pusher-php-client
Files in cavaon-wayne/pusher-php-client
Package pusher-php-client
Short Description Cavaon pusher for Laravel project
License MIT
Informations about the package pusher-php-client
CavaonPusher PHP wrapper
Installation
Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
Laravel 5.5+:
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php
If you want to make it easier to access Pusher or Event class, add this to your facades in app.php:
Usage
Before usage, please remember to set your App Id and App secret in config/broadcasting.php
, They are assigned to you via cavano-pusher-server's .env
file
You need to get the JWT token generated by this pusher and the APP Id and pass them to your socket.io client:
Here is a example how your will use them in your socket.io client:
Broadcasting
To broadcast event to you socket.io client:
Please remember to run make queue listening if you don't using the sync
drive for queue
All versions of pusher-php-client with dependencies
illuminate/contracts Version 5.2.x|5.3.x|5.4.x|5.5.x|5.6.x|5.7.x
illuminate/support Version 5.2.x|5.3.x|5.4.x|5.5.x|5.6.x|5.7.x
pusher/pusher-php-server Version 2.6.4
lcobucci/jwt Version ^3.2