This is only a demo for Laravel 5.4 + Pusher using laravel-pusher package by vinkla. But, feel free to clone and check things yourself.
Tutorial Source: https://pusher-community.github.io/real-time-laravel/index.html
Requirements for this demo:
- Pusher account from pusher.com
- Github app API
Add this to your .env file:
PUSHER_APP_ID=<pusher app id here>
PUSHER_APP_KEY=<pusher app key here>
PUSHER_APP_SECRET=<pusher app secret key here>
GITHUB_CLIENT_ID=<github client id here>
GITHUB_CLIENT_SECRET=<github client secret key here>
GITHUB_CALLBACK_URL=<github client callback url>