intento de muestra de gasolina
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

broadcasting.php 1.7 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. | Supported: "pusher", "ably", "redis", "log", "null"
  13. |
  14. */
  15. 'default' => env('BROADCAST_DRIVER', 'null'),
  16. /*
  17. |--------------------------------------------------------------------------
  18. | Broadcast Connections
  19. |--------------------------------------------------------------------------
  20. |
  21. | Here you may define all of the broadcast connections that will be used
  22. | to broadcast events to other systems or over websockets. Samples of
  23. | each available type of connection are provided inside this array.
  24. |
  25. */
  26. 'connections' => [
  27. 'pusher' => [
  28. 'driver' => 'pusher',
  29. 'key' => env('PUSHER_APP_KEY'),
  30. 'secret' => env('PUSHER_APP_SECRET'),
  31. 'app_id' => env('PUSHER_APP_ID'),
  32. 'options' => [
  33. 'cluster' => env('PUSHER_APP_CLUSTER'),
  34. 'useTLS' => true,
  35. ],
  36. ],
  37. 'ably' => [
  38. 'driver' => 'ably',
  39. 'key' => env('ABLY_KEY'),
  40. ],
  41. 'redis' => [
  42. 'driver' => 'redis',
  43. 'connection' => 'default',
  44. ],
  45. 'log' => [
  46. 'driver' => 'log',
  47. ],
  48. 'null' => [
  49. 'driver' => 'null',
  50. ],
  51. ],
  52. ];