Skip to content

Instantly share code, notes, and snippets.

@jjcodes78
Created May 20, 2019 00:41
Show Gist options
  • Save jjcodes78/3eeb446f4c64b885b12b3cafc727f877 to your computer and use it in GitHub Desktop.
Save jjcodes78/3eeb446f4c64b885b12b3cafc727f877 to your computer and use it in GitHub Desktop.
Laravel WebSockets Config
'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'),
'encrypted' => env('WS_ENCRYPTED', true),
'host' => env('WS_HOST', '127.0.0.1'),
'port' => env('WS_PORT', 6001),
'scheme' => env('WS_SCHEME', 'http')
],
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment