- Add pusher PHP server to composer
"pusher/pusher-php-server": "^3.0",
- Require this package, with Composer, in the root directory of your project.
$ composer require vinkla/pusher
- Add the service provider to config/app.php in the providers array, or if you're using Laravel 5.5, this can be done via the automatic package discovery.