app.php 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Application Name
  6. |--------------------------------------------------------------------------
  7. |
  8. | This value is the name of your application, which will be used when the
  9. | framework needs to place the application's name in a notification or
  10. | other UI elements where an application name needs to be displayed.
  11. |
  12. */
  13. 'name' => env('APP_NAME', 'Laravel'),
  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 the 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' => (bool) 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. | the application so that it's available within Artisan commands.
  44. |
  45. */
  46. 'url' => env('APP_URL', 'http://localhost'),
  47. /*
  48. |--------------------------------------------------------------------------
  49. | Application Timezone
  50. |--------------------------------------------------------------------------
  51. |
  52. | Here you may specify the default timezone for your application, which
  53. | will be used by the PHP date and date-time functions. The timezone
  54. | is set to "UTC" by default as it is suitable for most use cases.
  55. |
  56. */
  57. 'timezone' => env('APP_TIMEZONE', 'UTC'),
  58. /*
  59. |--------------------------------------------------------------------------
  60. | Application Locale Configuration
  61. |--------------------------------------------------------------------------
  62. |
  63. | The application locale determines the default locale that will be used
  64. | by Laravel's translation / localization methods. This option can be
  65. | set to any locale for which you plan to have translation strings.
  66. |
  67. */
  68. 'locale' => env('APP_LOCALE', 'en'),
  69. 'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
  70. 'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'),
  71. /*
  72. |--------------------------------------------------------------------------
  73. | Encryption Key
  74. |--------------------------------------------------------------------------
  75. |
  76. | This key is utilized by Laravel's encryption services and should be set
  77. | to a random, 32 character string to ensure that all encrypted values
  78. | are secure. You should do this prior to deploying the application.
  79. |
  80. */
  81. 'cipher' => 'AES-256-CBC',
  82. 'key' => env('APP_KEY'),
  83. 'previous_keys' => [
  84. ...array_filter(
  85. explode(',', env('APP_PREVIOUS_KEYS', ''))
  86. ),
  87. ],
  88. /*
  89. |--------------------------------------------------------------------------
  90. | Maintenance Mode Driver
  91. |--------------------------------------------------------------------------
  92. |
  93. | These configuration options determine the driver used to determine and
  94. | manage Laravel's "maintenance mode" status. The "cache" driver will
  95. | allow maintenance mode to be controlled across multiple machines.
  96. |
  97. | Supported drivers: "file", "cache"
  98. |
  99. */
  100. 'maintenance' => [
  101. 'driver' => env('APP_MAINTENANCE_DRIVER', 'file'),
  102. 'store' => env('APP_MAINTENANCE_STORE', 'database'),
  103. ],
  104. /*
  105. |--------------------------------------------------------------------------
  106. | Autoloaded Service Providers
  107. |--------------------------------------------------------------------------
  108. |
  109. | The service providers listed here will be automatically loaded on the
  110. | request to your application. Feel free to add your own services to
  111. | this array to grant expanded functionality to your applications.
  112. |
  113. */
  114. 'providers' => [
  115. // Laravel Framework Service Providers...
  116. Illuminate\Auth\AuthServiceProvider::class,
  117. Illuminate\Broadcasting\BroadcastServiceProvider::class,
  118. Illuminate\Bus\BusServiceProvider::class,
  119. Illuminate\Cache\CacheServiceProvider::class,
  120. Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
  121. Illuminate\Cookie\CookieServiceProvider::class,
  122. Illuminate\Database\DatabaseServiceProvider::class,
  123. Illuminate\Encryption\EncryptionServiceProvider::class,
  124. Illuminate\Filesystem\FilesystemServiceProvider::class,
  125. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  126. Illuminate\Hashing\HashServiceProvider::class,
  127. Illuminate\Mail\MailServiceProvider::class,
  128. Illuminate\Notifications\NotificationServiceProvider::class,
  129. Illuminate\Pagination\PaginationServiceProvider::class,
  130. Illuminate\Pipeline\PipelineServiceProvider::class,
  131. Illuminate\Queue\QueueServiceProvider::class,
  132. Illuminate\Redis\RedisServiceProvider::class,
  133. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  134. Illuminate\Session\SessionServiceProvider::class,
  135. Illuminate\Translation\TranslationServiceProvider::class,
  136. Illuminate\Validation\ValidationServiceProvider::class,
  137. Illuminate\View\ViewServiceProvider::class,
  138. // Package Service Providers...
  139. Knuckles\Scribe\ScribeServiceProvider::class,
  140. // Application Service Providers...
  141. App\Providers\QueryLogServiceProvider::class,
  142. Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
  143. SimpleSoftwareIO\QrCode\QrCodeServiceProvider::class,
  144. App\Providers\FileSystemServiceProvider::class,
  145. ],
  146. /*
  147. |--------------------------------------------------------------------------
  148. | Class Aliases
  149. |--------------------------------------------------------------------------
  150. |
  151. | This array of class aliases will be registered when this application
  152. | is started. However, feel free to register as many as you wish as
  153. | the aliases are "lazy" loaded so they don't hinder performance.
  154. |
  155. */
  156. 'aliases' => [
  157. 'App' => Illuminate\Support\Facades\App::class,
  158. 'Arr' => Illuminate\Support\Arr::class,
  159. 'Artisan' => Illuminate\Support\Facades\Artisan::class,
  160. 'Auth' => Illuminate\Support\Facades\Auth::class,
  161. 'Blade' => Illuminate\Support\Facades\Blade::class,
  162. 'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
  163. 'Bus' => Illuminate\Support\Facades\Bus::class,
  164. 'Cache' => Illuminate\Support\Facades\Cache::class,
  165. 'Config' => Illuminate\Support\Facades\Config::class,
  166. 'Cookie' => Illuminate\Support\Facades\Cookie::class,
  167. 'Crypt' => Illuminate\Support\Facades\Crypt::class,
  168. 'Date' => Illuminate\Support\Carbon::class,
  169. 'DB' => Illuminate\Support\Facades\DB::class,
  170. 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
  171. 'Event' => Illuminate\Support\Facades\Event::class,
  172. 'File' => Illuminate\Support\Facades\File::class,
  173. 'Gate' => Illuminate\Support\Facades\Gate::class,
  174. 'Hash' => Illuminate\Support\Facades\Hash::class,
  175. 'Http' => Illuminate\Support\Facades\Http::class,
  176. 'Js' => Illuminate\Support\Js::class,
  177. 'Lang' => Illuminate\Support\Facades\Lang::class,
  178. 'Log' => Illuminate\Support\Facades\Log::class,
  179. 'Mail' => Illuminate\Support\Facades\Mail::class,
  180. 'Notification' => Illuminate\Support\Facades\Notification::class,
  181. 'Password' => Illuminate\Support\Facades\Password::class,
  182. 'Process' => Illuminate\Support\Facades\Process::class,
  183. 'QrCode' => SimpleSoftwareIO\QrCode\Facades\QrCode::class,
  184. 'Queue' => Illuminate\Support\Facades\Queue::class,
  185. 'RateLimiter' => Illuminate\Support\Facades\RateLimiter::class,
  186. 'Redirect' => Illuminate\Support\Facades\Redirect::class,
  187. 'Request' => Illuminate\Support\Facades\Request::class,
  188. 'Response' => Illuminate\Support\Facades\Response::class,
  189. 'Route' => Illuminate\Support\Facades\Route::class,
  190. 'Schema' => Illuminate\Support\Facades\Schema::class,
  191. 'Session' => Illuminate\Support\Facades\Session::class,
  192. 'Storage' => Illuminate\Support\Facades\Storage::class,
  193. 'Str' => Illuminate\Support\Str::class,
  194. 'URL' => Illuminate\Support\Facades\URL::class,
  195. 'Validator' => Illuminate\Support\Facades\Validator::class,
  196. 'View' => Illuminate\Support\Facades\View::class,
  197. ],
  198. ];