winter/config/broadcasting.php

61 lines
1.8 KiB
PHP
Raw Normal View History

<?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.
|
Sync config defaults with Laravel 9.x skeleton Changed from Laravel defaults: - Array configuration items should have their assigner operators aligned and keys should be sorted alphabetically Removed: - database.fetch: Removed from the default in Laravel 5.4 (and originally changed to FETCH_OBJ in 5.3) see https://github.com/laravel/laravel/commit/770c41552f07c75450c72099b8feedbd428888fe & https://github.com/laravel/laravel/pull/3815 - filesystems.cloud: Removed from the default in Laravel 8.4.4 since it's not good practice to use Storage::cloud(), should use explicit disk configurations instead. See https://github.com/laravel/laravel/commit/82213fbf40fc4ec687781d0b93ff60a7de536913 - services.mandrill: No longer officially supported since < Laravel 6.x; can use the SMTP driver instead - services.sparkport: No longer officially supported in Laravel since < Laravel 6.x or Winter since v1.2 (third party package to reprovide driver is available but config should be manually added when desired.) - services.stripe: Removed in Laravel v5.8.35, see https://github.com/laravel/laravel/commit/83d2ecc0e9cca7ae6989134dede4a5653a19430b Explicitly not synced: - Some calls to env(), will be addressed by future work on the ConfigWriter - auth.php, will be addressed by future work to bring the Winter auth system more in line with the Laravel one - cors.php, not implemented by default in Winter at the moment, plugins are available - filesystems.php: storage.links & storage.disks.public not included because storage:link is not supported by Winter yet and further thought is needed for its inclusion. - mail.php: markdown - Laravel's markdown mail functionality not verified to work within Winter which has it's own set of email templating logic. May be investigated and included later down the road if desired. - sanctum.php: Laravel Sanctum is an authentication system for Laravel that is completely untested with Winter. Can be evaluated at a later date for inclusion.
2022-02-14 14:42:24 -06:00
| Supported: "pusher", "ably", "redis", "log", "null"
|
*/
Sync config defaults with Laravel 9.x skeleton Changed from Laravel defaults: - Array configuration items should have their assigner operators aligned and keys should be sorted alphabetically Removed: - database.fetch: Removed from the default in Laravel 5.4 (and originally changed to FETCH_OBJ in 5.3) see https://github.com/laravel/laravel/commit/770c41552f07c75450c72099b8feedbd428888fe & https://github.com/laravel/laravel/pull/3815 - filesystems.cloud: Removed from the default in Laravel 8.4.4 since it's not good practice to use Storage::cloud(), should use explicit disk configurations instead. See https://github.com/laravel/laravel/commit/82213fbf40fc4ec687781d0b93ff60a7de536913 - services.mandrill: No longer officially supported since < Laravel 6.x; can use the SMTP driver instead - services.sparkport: No longer officially supported in Laravel since < Laravel 6.x or Winter since v1.2 (third party package to reprovide driver is available but config should be manually added when desired.) - services.stripe: Removed in Laravel v5.8.35, see https://github.com/laravel/laravel/commit/83d2ecc0e9cca7ae6989134dede4a5653a19430b Explicitly not synced: - Some calls to env(), will be addressed by future work on the ConfigWriter - auth.php, will be addressed by future work to bring the Winter auth system more in line with the Laravel one - cors.php, not implemented by default in Winter at the moment, plugins are available - filesystems.php: storage.links & storage.disks.public not included because storage:link is not supported by Winter yet and further thought is needed for its inclusion. - mail.php: markdown - Laravel's markdown mail functionality not verified to work within Winter which has it's own set of email templating logic. May be investigated and included later down the road if desired. - sanctum.php: Laravel Sanctum is an authentication system for Laravel that is completely untested with Winter. Can be evaluated at a later date for inclusion.
2022-02-14 14:42:24 -06:00
'default' => env('BROADCAST_DRIVER', 'null'),
/*
|--------------------------------------------------------------------------
| Broadcast Connections
|--------------------------------------------------------------------------
|
| Here you may define all of the broadcast connections that will be used
| to broadcast events to other systems or over websockets. Samples of
| each available type of connection are provided inside this array.
|
*/
'connections' => [
'pusher' => [
'app_id' => env('PUSHER_APP_ID'),
'client_options' => [
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
],
'driver' => 'pusher',
'key' => env('PUSHER_APP_KEY'),
'options' => [
Sync config defaults with Laravel 9.x skeleton Changed from Laravel defaults: - Array configuration items should have their assigner operators aligned and keys should be sorted alphabetically Removed: - database.fetch: Removed from the default in Laravel 5.4 (and originally changed to FETCH_OBJ in 5.3) see https://github.com/laravel/laravel/commit/770c41552f07c75450c72099b8feedbd428888fe & https://github.com/laravel/laravel/pull/3815 - filesystems.cloud: Removed from the default in Laravel 8.4.4 since it's not good practice to use Storage::cloud(), should use explicit disk configurations instead. See https://github.com/laravel/laravel/commit/82213fbf40fc4ec687781d0b93ff60a7de536913 - services.mandrill: No longer officially supported since < Laravel 6.x; can use the SMTP driver instead - services.sparkport: No longer officially supported in Laravel since < Laravel 6.x or Winter since v1.2 (third party package to reprovide driver is available but config should be manually added when desired.) - services.stripe: Removed in Laravel v5.8.35, see https://github.com/laravel/laravel/commit/83d2ecc0e9cca7ae6989134dede4a5653a19430b Explicitly not synced: - Some calls to env(), will be addressed by future work on the ConfigWriter - auth.php, will be addressed by future work to bring the Winter auth system more in line with the Laravel one - cors.php, not implemented by default in Winter at the moment, plugins are available - filesystems.php: storage.links & storage.disks.public not included because storage:link is not supported by Winter yet and further thought is needed for its inclusion. - mail.php: markdown - Laravel's markdown mail functionality not verified to work within Winter which has it's own set of email templating logic. May be investigated and included later down the road if desired. - sanctum.php: Laravel Sanctum is an authentication system for Laravel that is completely untested with Winter. Can be evaluated at a later date for inclusion.
2022-02-14 14:42:24 -06:00
'cluster' => env('PUSHER_APP_CLUSTER'),
'useTLS' => true,
],
'secret' => env('PUSHER_APP_SECRET'),
Sync config defaults with Laravel 9.x skeleton Changed from Laravel defaults: - Array configuration items should have their assigner operators aligned and keys should be sorted alphabetically Removed: - database.fetch: Removed from the default in Laravel 5.4 (and originally changed to FETCH_OBJ in 5.3) see https://github.com/laravel/laravel/commit/770c41552f07c75450c72099b8feedbd428888fe & https://github.com/laravel/laravel/pull/3815 - filesystems.cloud: Removed from the default in Laravel 8.4.4 since it's not good practice to use Storage::cloud(), should use explicit disk configurations instead. See https://github.com/laravel/laravel/commit/82213fbf40fc4ec687781d0b93ff60a7de536913 - services.mandrill: No longer officially supported since < Laravel 6.x; can use the SMTP driver instead - services.sparkport: No longer officially supported in Laravel since < Laravel 6.x or Winter since v1.2 (third party package to reprovide driver is available but config should be manually added when desired.) - services.stripe: Removed in Laravel v5.8.35, see https://github.com/laravel/laravel/commit/83d2ecc0e9cca7ae6989134dede4a5653a19430b Explicitly not synced: - Some calls to env(), will be addressed by future work on the ConfigWriter - auth.php, will be addressed by future work to bring the Winter auth system more in line with the Laravel one - cors.php, not implemented by default in Winter at the moment, plugins are available - filesystems.php: storage.links & storage.disks.public not included because storage:link is not supported by Winter yet and further thought is needed for its inclusion. - mail.php: markdown - Laravel's markdown mail functionality not verified to work within Winter which has it's own set of email templating logic. May be investigated and included later down the road if desired. - sanctum.php: Laravel Sanctum is an authentication system for Laravel that is completely untested with Winter. Can be evaluated at a later date for inclusion.
2022-02-14 14:42:24 -06:00
],
'ably' => [
'driver' => 'ably',
'key' => env('ABLY_KEY'),
],
'redis' => [
'connection' => 'default',
'driver' => 'redis',
],
'log' => [
'driver' => 'log',
],
'null' => [
'driver' => 'null',
],
],
];