app.php 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Application Name
  6. |--------------------------------------------------------------------------
  7. |
  8. | This value is the name of your application. This value is used when the
  9. | framework needs to place the application's name in a notification or
  10. | any other location as required by the application or its packages.
  11. |
  12. */
  13. 'name' => env('APP_NAME', 'Pixelfed'),
  14. /*
  15. |--------------------------------------------------------------------------
  16. | Application Environment
  17. |--------------------------------------------------------------------------
  18. |
  19. | This value determines the "environment" your application is currently
  20. | running in. This may determine how you prefer to configure various
  21. | services your application utilizes. Set this in your ".env" file.
  22. |
  23. */
  24. 'env' => env('APP_ENV', 'production'),
  25. /*
  26. |--------------------------------------------------------------------------
  27. | Application Debug Mode
  28. |--------------------------------------------------------------------------
  29. |
  30. | When your application is in debug mode, detailed error messages with
  31. | stack traces will be shown on every error that occurs within your
  32. | application. If disabled, a simple generic error page is shown.
  33. |
  34. */
  35. 'debug' => env('APP_DEBUG', false),
  36. /*
  37. |--------------------------------------------------------------------------
  38. | Application URL
  39. |--------------------------------------------------------------------------
  40. |
  41. | This URL is used by the console to properly generate URLs when using
  42. | the Artisan command line tool. You should set this to the root of
  43. | your application so that it is used when running Artisan tasks.
  44. |
  45. */
  46. 'url' => env('APP_URL', 'https://localhost'),
  47. /*
  48. * Do not edit your timezone or things will break!
  49. */
  50. 'timezone' => 'UTC',
  51. /*
  52. |--------------------------------------------------------------------------
  53. | Application Locale Configuration
  54. |--------------------------------------------------------------------------
  55. |
  56. | The application locale determines the default locale that will be used
  57. | by the translation service provider. You are free to set this value
  58. | to any of the locales which will be supported by the application.
  59. |
  60. */
  61. 'locale' => env('APP_LOCALE', 'en'),
  62. /*
  63. |--------------------------------------------------------------------------
  64. | Application Fallback Locale
  65. |--------------------------------------------------------------------------
  66. |
  67. | The fallback locale determines the locale to use when the current one
  68. | is not available. You may change the value to correspond to any of
  69. | the language folders that are provided through your application.
  70. |
  71. */
  72. 'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
  73. /*
  74. |--------------------------------------------------------------------------
  75. | Encryption Key
  76. |--------------------------------------------------------------------------
  77. |
  78. | This key is used by the Illuminate encrypter service and should be set
  79. | to a random, 32 character string, otherwise these encrypted strings
  80. | will not be safe. Please do this before deploying an application!
  81. |
  82. */
  83. 'key' => env('APP_KEY'),
  84. 'cipher' => 'AES-256-CBC',
  85. 'short_description' => 'Pixelfed is an image sharing platform, an ethical alternative to centralized platforms.',
  86. 'description' => 'Pixelfed is an image sharing platform, an ethical alternative to centralized platforms.',
  87. 'rules' => null,
  88. 'logo' => '/img/pixelfed-icon-color.svg',
  89. 'banner_image' => '/storage/headers/default.jpg',
  90. /*
  91. |--------------------------------------------------------------------------
  92. | Autoloaded Service Providers
  93. |--------------------------------------------------------------------------
  94. |
  95. | The service providers listed here will be automatically loaded on the
  96. | request to your application. Feel free to add your own services to
  97. | this array to grant expanded functionality to your applications.
  98. |
  99. */
  100. 'providers' => [
  101. /*
  102. * Laravel Framework Service Providers...
  103. */
  104. Illuminate\Auth\AuthServiceProvider::class,
  105. Illuminate\Broadcasting\BroadcastServiceProvider::class,
  106. Illuminate\Bus\BusServiceProvider::class,
  107. Illuminate\Cache\CacheServiceProvider::class,
  108. Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
  109. Illuminate\Cookie\CookieServiceProvider::class,
  110. Illuminate\Database\DatabaseServiceProvider::class,
  111. Illuminate\Encryption\EncryptionServiceProvider::class,
  112. Illuminate\Filesystem\FilesystemServiceProvider::class,
  113. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  114. Illuminate\Hashing\HashServiceProvider::class,
  115. Illuminate\Mail\MailServiceProvider::class,
  116. Illuminate\Notifications\NotificationServiceProvider::class,
  117. Illuminate\Pagination\PaginationServiceProvider::class,
  118. Illuminate\Pipeline\PipelineServiceProvider::class,
  119. Illuminate\Queue\QueueServiceProvider::class,
  120. Illuminate\Redis\RedisServiceProvider::class,
  121. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  122. Illuminate\Session\SessionServiceProvider::class,
  123. Illuminate\Translation\TranslationServiceProvider::class,
  124. Illuminate\Validation\ValidationServiceProvider::class,
  125. Illuminate\View\ViewServiceProvider::class,
  126. /*
  127. * Package Service Providers...
  128. */
  129. /*
  130. * Application Service Providers...
  131. */
  132. App\Providers\AppServiceProvider::class,
  133. App\Providers\AuthServiceProvider::class,
  134. App\Providers\BroadcastServiceProvider::class,
  135. App\Providers\HorizonServiceProvider::class,
  136. App\Providers\EventServiceProvider::class,
  137. App\Providers\RouteServiceProvider::class,
  138. // App\Providers\TelescopeServiceProvider::class,
  139. App\Providers\PassportServiceProvider::class,
  140. ],
  141. /*
  142. |--------------------------------------------------------------------------
  143. | Class Aliases
  144. |--------------------------------------------------------------------------
  145. |
  146. | This array of class aliases will be registered when this application
  147. | is started. However, feel free to register as many as you wish as
  148. | the aliases are "lazy" loaded so they don't hinder performance.
  149. |
  150. */
  151. 'aliases' => [
  152. 'App' => Illuminate\Support\Facades\App::class,
  153. 'Artisan' => Illuminate\Support\Facades\Artisan::class,
  154. 'Auth' => Illuminate\Support\Facades\Auth::class,
  155. 'Blade' => Illuminate\Support\Facades\Blade::class,
  156. 'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
  157. 'Bus' => Illuminate\Support\Facades\Bus::class,
  158. 'Cache' => Illuminate\Support\Facades\Cache::class,
  159. 'Config' => Illuminate\Support\Facades\Config::class,
  160. 'Cookie' => Illuminate\Support\Facades\Cookie::class,
  161. 'Crypt' => Illuminate\Support\Facades\Crypt::class,
  162. 'DB' => Illuminate\Support\Facades\DB::class,
  163. 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
  164. 'Event' => Illuminate\Support\Facades\Event::class,
  165. 'File' => Illuminate\Support\Facades\File::class,
  166. 'Gate' => Illuminate\Support\Facades\Gate::class,
  167. 'Hash' => Illuminate\Support\Facades\Hash::class,
  168. 'Lang' => Illuminate\Support\Facades\Lang::class,
  169. 'Log' => Illuminate\Support\Facades\Log::class,
  170. 'Mail' => Illuminate\Support\Facades\Mail::class,
  171. 'Notification' => Illuminate\Support\Facades\Notification::class,
  172. 'Password' => Illuminate\Support\Facades\Password::class,
  173. 'Queue' => Illuminate\Support\Facades\Queue::class,
  174. 'Redirect' => Illuminate\Support\Facades\Redirect::class,
  175. 'Redis' => Illuminate\Support\Facades\Redis::class,
  176. 'Request' => Illuminate\Support\Facades\Request::class,
  177. 'Response' => Illuminate\Support\Facades\Response::class,
  178. 'Route' => Illuminate\Support\Facades\Route::class,
  179. 'Schema' => Illuminate\Support\Facades\Schema::class,
  180. 'Session' => Illuminate\Support\Facades\Session::class,
  181. 'Storage' => Illuminate\Support\Facades\Storage::class,
  182. 'URL' => Illuminate\Support\Facades\URL::class,
  183. 'Validator' => Illuminate\Support\Facades\Validator::class,
  184. 'View' => Illuminate\Support\Facades\View::class,
  185. 'PrettyNumber' => App\Util\Lexer\PrettyNumber::class,
  186. 'Purify' => Stevebauman\Purify\Facades\Purify::class,
  187. 'FFMpeg' => Pbmedia\LaravelFFMpeg\FFMpegFacade::class,
  188. 'Captcha' => Buzz\LaravelHCaptcha\CaptchaFacade::class,
  189. ],
  190. ];