alexsoft/laravel-pusher

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
This package is abandoned and no longer maintained. No replacement package was suggested.

Add Laravel facade for using pusher/pusher-php-server

v1.0.2 2015-02-12 08:43 UTC

This package is not auto-updated.

Last update: 2019-01-11 10:23:30 UTC


README

Info

This package adds Laravel facade for easier usage of Pusher PHP Library

Installation

First install it using Composer. Edit your project's composer.json file to require alexsoft/laravel-pusher.

Laravel ~ 5.0

"require": {
    "alexsoft/laravel-pusher": "~1.0.2"
}

Next, update Composer from the Terminal:

composer update

Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.

'Alexsoft\LaravelPusher\LaravelPusherServiceProvider'

Also add a class alias.

'Pusher' => 'Alexsoft\LaravelPusher\Facades\Pusher'

Then just publish config file

php artisan vendor:publish --provider="Alexsoft\LaravelPusher\LaravelPusherServiceProvider"

Finally put you App Id, Key and Secret in that file and that's it! You're all set to go.