filament.php 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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' => env('VITE_PUSHER_SCHEME', 'https') === 'https',
  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('FILESYSTEM_DISK', 'local'),
  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. | File Generation
  78. |--------------------------------------------------------------------------
  79. |
  80. | Artisan commands that generate files can be configured here by setting
  81. | configuration flags that will impact their location or content.
  82. |
  83. | Often, this is useful to preserve file generation behavior from a
  84. | previous version of Filament, to ensure consistency between older and
  85. | newer generated files. These flags are often documented in the upgrade
  86. | guide for the version of Filament you are upgrading to.
  87. |
  88. */
  89. 'file_generation' => [
  90. 'flags' => [],
  91. ],
  92. /*
  93. |--------------------------------------------------------------------------
  94. | System Route Prefix
  95. |--------------------------------------------------------------------------
  96. |
  97. | This is the prefix used for the system routes that Filament registers,
  98. | such as the routes for downloading exports and failed import rows.
  99. |
  100. */
  101. 'system_route_prefix' => 'filament',
  102. ];