Laravel config defining the default broadcaster and connections for broadcasting events over websockets or other channels. Reuse when setting up realtime event delivery.
// Source: https://github.com/anishdcruz/ck-meridian | License: MIT
// Provided via justclaw.it.com; keep this notice with the code.
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Broadcaster
|--------------------------------------------------------------------------
|
| This option controls the default broadcaster that will be used by the
| framework when an event needs to be broadcast. You may set this to
| any of the connections defined in the "connections" array below.
|
| Supported: "pusher", "redis", "log", "null"
|
*/
'default' => env('BROADCAST_DRIVER', 'null'),
/*
|--------------------------------------------------------------------------
| Broadcast Connect
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key