Nav apraksta

broadcasting.php 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Default Broadcaster
  6. |--------------------------------------------------------------------------
  7. |
  8. | This option controls the default broadcaster that will be used by the
  9. | framework when an event needs to be broadcast. You may set this to
  10. | any of the connections defined in the "connections" array below.
  11. |
  12. */
  13. 'default' => env('BROADCAST_DRIVER', 'pusher'),
  14. /*
  15. |--------------------------------------------------------------------------
  16. | Broadcast Connections
  17. |--------------------------------------------------------------------------
  18. |
  19. | Here you may define all of the broadcast connections that will be used
  20. | to broadcast events to other systems or over websockets. Samples of
  21. | each available type of connection are provided inside this array.
  22. |
  23. */
  24. 'connections' => [
  25. 'pusher' => [
  26. 'driver' => 'pusher',
  27. 'key' => env('PUSHER_KEY'),
  28. 'secret' => env('PUSHER_SECRET'),
  29. 'app_id' => env('PUSHER_APP_ID'),
  30. 'options' => [
  31. //
  32. ],
  33. ],
  34. 'redis' => [
  35. 'driver' => 'redis',
  36. 'connection' => 'default',
  37. ],
  38. 'log' => [
  39. 'driver' => 'log',
  40. ],
  41. ],
  42. ];