Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

filament-companies.php 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?php
  2. use Wallo\FilamentCompanies\Features;
  3. use Wallo\FilamentCompanies\Http\Middleware\AuthenticateSession;
  4. use Wallo\FilamentCompanies\Providers;
  5. return [
  6. /*
  7. |--------------------------------------------------------------------------
  8. | Company Stack
  9. |--------------------------------------------------------------------------
  10. |
  11. | This configuration value informs Company which "stack" you will be
  12. | using for your application. In general, this value is set for you
  13. | during installation and will not need to be changed after that.
  14. |
  15. */
  16. 'stack' => 'filament',
  17. /*
  18. |--------------------------------------------------------------------------
  19. | Company Route Middleware
  20. |--------------------------------------------------------------------------
  21. |
  22. | Here you may specify which middleware Company will assign to the routes
  23. | that it registers with the application. When necessary, you may modify
  24. | these middleware; however, this default value is usually sufficient.
  25. |
  26. */
  27. 'middleware' => config('filament.middleware.base'),
  28. 'auth_session' => AuthenticateSession::class,
  29. /*
  30. |--------------------------------------------------------------------------
  31. | Company Guard
  32. |--------------------------------------------------------------------------
  33. |
  34. | Here you may specify the authentication guard Company will use while
  35. | authenticating users. This value should correspond with one of your
  36. | guards that is already present in your "auth" configuration file.
  37. |
  38. */
  39. 'guard' => 'sanctum',
  40. /*
  41. |--------------------------------------------------------------------------
  42. | Socialite Providers
  43. |--------------------------------------------------------------------------
  44. |
  45. | Here you may specify the providers your application supports for OAuth.
  46. | Out of the box, FilamentCompanies provides support for all the OAuth
  47. | providers that are supported by Laravel Socialite.
  48. |
  49. */
  50. 'providers' => [
  51. Providers::github(),
  52. ],
  53. /*
  54. |--------------------------------------------------------------------------
  55. | Features
  56. |--------------------------------------------------------------------------
  57. |
  58. | Some of Company's features are optional. You may disable the features
  59. | by removing them from this array. You're free to only remove some of
  60. | these features, or you can even remove all of these if you need to.
  61. |
  62. */
  63. 'features' => [
  64. Features::termsAndPrivacyPolicy(),
  65. Features::profilePhotos(),
  66. Features::api(),
  67. Features::companies(['invitations' => true]),
  68. Features::accountDeletion(),
  69. Features::socialite(['rememberSession' => true, 'providerAvatars' => true]),
  70. ],
  71. /*
  72. |--------------------------------------------------------------------------
  73. | Layout
  74. |--------------------------------------------------------------------------
  75. |
  76. | This is the configuration for the general layout of the package.
  77. |
  78. | Supported:
  79. | "sm", "md", "lg", "xl", "2xl",
  80. | "3xl", "4xl", "5xl", "6xl", "7xl", "full"
  81. |
  82. */
  83. 'layout' => [
  84. 'modals' => [
  85. 'dialog_modal_width' => '2xl',
  86. 'api_tokens' => [
  87. 'create_modal_width' => '2xl',
  88. 'edit_modal_width' => '2xl',
  89. 'revoke_modal_width' => 'md',
  90. ],
  91. ],
  92. ],
  93. /*
  94. |--------------------------------------------------------------------------
  95. | Profile Photo Disk
  96. |--------------------------------------------------------------------------
  97. |
  98. | This configuration value determines the default disk that will be used
  99. | when storing profile photos for your application's users. Typically,
  100. | this will be the "public" disk, but you may adjust this if needed.
  101. |
  102. */
  103. 'profile_photo_disk' => 'public',
  104. ];