filament.php 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Broadcasting
  6. |--------------------------------------------------------------------------
  7. |
  8. | By uncommenting the Laravel Echo configuration, you may connect Filament
  9. | to any Pusher-compatible websockets server.
  10. |
  11. | This will allow your users to receive real-time notifications.
  12. |
  13. */
  14. 'broadcasting' => [
  15. // 'echo' => [
  16. // 'broadcaster' => 'pusher',
  17. // 'key' => env('VITE_PUSHER_APP_KEY'),
  18. // 'cluster' => env('VITE_PUSHER_APP_CLUSTER'),
  19. // 'wsHost' => env('VITE_PUSHER_HOST'),
  20. // 'wsPort' => env('VITE_PUSHER_PORT'),
  21. // 'wssPort' => env('VITE_PUSHER_PORT'),
  22. // 'authEndpoint' => '/broadcasting/auth',
  23. // 'disableStats' => true,
  24. // 'encrypted' => true,
  25. // 'forceTLS' => true,
  26. // ],
  27. ],
  28. /*
  29. |--------------------------------------------------------------------------
  30. | Default Filesystem Disk
  31. |--------------------------------------------------------------------------
  32. |
  33. | This is the storage disk Filament will use to store files. You may use
  34. | any of the disks defined in the `config/filesystems.php`.
  35. |
  36. */
  37. 'default_filesystem_disk' => env('FILAMENT_FILESYSTEM_DISK', 'public'),
  38. /*
  39. |--------------------------------------------------------------------------
  40. | Assets Path
  41. |--------------------------------------------------------------------------
  42. |
  43. | This is the directory where Filament's assets will be published to. It
  44. | is relative to the `public` directory of your Laravel application.
  45. |
  46. | After changing the path, you should run `php artisan filament:assets`.
  47. |
  48. */
  49. 'assets_path' => null,
  50. /*
  51. |--------------------------------------------------------------------------
  52. | Cache Path
  53. |--------------------------------------------------------------------------
  54. |
  55. | This is the directory that Filament will use to store cache files that
  56. | are used to optimize the registration of components.
  57. |
  58. | After changing the path, you should run `php artisan filament:cache-components`.
  59. |
  60. */
  61. 'cache_path' => base_path('bootstrap/cache/filament'),
  62. /*
  63. |--------------------------------------------------------------------------
  64. | Livewire Loading Delay
  65. |--------------------------------------------------------------------------
  66. |
  67. | This sets the delay before loading indicators appear.
  68. |
  69. | Setting this to 'none' makes indicators appear immediately, which can be
  70. | desirable for high-latency connections. Setting it to 'default' applies
  71. | Livewire's standard 200ms delay.
  72. |
  73. */
  74. 'livewire_loading_delay' => 'default',
  75. /*
  76. |--------------------------------------------------------------------------
  77. | System Route Prefix
  78. |--------------------------------------------------------------------------
  79. |
  80. | This is the prefix used for the system routes that Filament registers,
  81. | such as the routes for downloading exports and failed import rows.
  82. |
  83. */
  84. 'system_route_prefix' => 'filament',
  85. ];