PageRenderTime 39ms CodeModel.GetById 11ms RepoModel.GetById 1ms app.codeStats 0ms

/config/app.php

https://gitlab.com/losi/airsoft
PHP | 210 lines | 74 code | 27 blank | 109 comment | 0 complexity | 61cbe2bd615956781ff794fb53ecd07c MD5 | raw file
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Application Environment
  6. |--------------------------------------------------------------------------
  7. |
  8. | This value determines the "environment" your application is currently
  9. | running in. This may determine how you prefer to configure various
  10. | services your application utilizes. Set this in your ".env" file.
  11. |
  12. */
  13. 'env' => env('APP_ENV', 'production'),
  14. /*
  15. |--------------------------------------------------------------------------
  16. | Application Debug Mode
  17. |--------------------------------------------------------------------------
  18. |
  19. | When your application is in debug mode, detailed error messages with
  20. | stack traces will be shown on every error that occurs within your
  21. | application. If disabled, a simple generic error page is shown.
  22. |
  23. */
  24. 'debug' => env('APP_DEBUG', false),
  25. /*
  26. |--------------------------------------------------------------------------
  27. | Application URL
  28. |--------------------------------------------------------------------------
  29. |
  30. | This URL is used by the console to properly generate URLs when using
  31. | the Artisan command line tool. You should set this to the root of
  32. | your application so that it is used when running Artisan tasks.
  33. |
  34. */
  35. 'url' => env('APP_URL', 'http://localhost'),
  36. /*
  37. |--------------------------------------------------------------------------
  38. | Application Timezone
  39. |--------------------------------------------------------------------------
  40. |
  41. | Here you may specify the default timezone for your application, which
  42. | will be used by the PHP date and date-time functions. We have gone
  43. | ahead and set this to a sensible default for you out of the box.
  44. |
  45. */
  46. 'timezone' => 'UTC',
  47. /*
  48. |--------------------------------------------------------------------------
  49. | Application Locale Configuration
  50. |--------------------------------------------------------------------------
  51. |
  52. | The application locale determines the default locale that will be used
  53. | by the translation service provider. You are free to set this value
  54. | to any of the locales which will be supported by the application.
  55. |
  56. */
  57. 'locale' => 'en',
  58. /*
  59. |--------------------------------------------------------------------------
  60. | Application Fallback Locale
  61. |--------------------------------------------------------------------------
  62. |
  63. | The fallback locale determines the locale to use when the current one
  64. | is not available. You may change the value to correspond to any of
  65. | the language folders that are provided through your application.
  66. |
  67. */
  68. 'fallback_locale' => 'en',
  69. /*
  70. |--------------------------------------------------------------------------
  71. | Encryption Key
  72. |--------------------------------------------------------------------------
  73. |
  74. | This key is used by the Illuminate encrypter service and should be set
  75. | to a random, 32 character string, otherwise these encrypted strings
  76. | will not be safe. Please do this before deploying an application!
  77. |
  78. */
  79. 'key' => env('APP_KEY'),
  80. 'cipher' => 'AES-256-CBC',
  81. /*
  82. |--------------------------------------------------------------------------
  83. | Logging Configuration
  84. |--------------------------------------------------------------------------
  85. |
  86. | Here you may configure the log settings for your application. Out of
  87. | the box, Laravel uses the Monolog PHP logging library. This gives
  88. | you a variety of powerful log handlers / formatters to utilize.
  89. |
  90. | Available Settings: "single", "daily", "syslog", "errorlog"
  91. |
  92. */
  93. 'log' => env('APP_LOG', 'single'),
  94. /*
  95. |--------------------------------------------------------------------------
  96. | Autoloaded Service Providers
  97. |--------------------------------------------------------------------------
  98. |
  99. | The service providers listed here will be automatically loaded on the
  100. | request to your application. Feel free to add your own services to
  101. | this array to grant expanded functionality to your applications.
  102. |
  103. */
  104. 'providers' => [
  105. /*
  106. * Laravel Framework Service Providers...
  107. */
  108. Illuminate\Auth\AuthServiceProvider::class,
  109. Illuminate\Broadcasting\BroadcastServiceProvider::class,
  110. Illuminate\Bus\BusServiceProvider::class,
  111. Illuminate\Cache\CacheServiceProvider::class,
  112. Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
  113. Illuminate\Cookie\CookieServiceProvider::class,
  114. Illuminate\Database\DatabaseServiceProvider::class,
  115. Illuminate\Encryption\EncryptionServiceProvider::class,
  116. Illuminate\Filesystem\FilesystemServiceProvider::class,
  117. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  118. Illuminate\Hashing\HashServiceProvider::class,
  119. Illuminate\Mail\MailServiceProvider::class,
  120. Illuminate\Pagination\PaginationServiceProvider::class,
  121. Illuminate\Pipeline\PipelineServiceProvider::class,
  122. Illuminate\Queue\QueueServiceProvider::class,
  123. Illuminate\Redis\RedisServiceProvider::class,
  124. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  125. Illuminate\Session\SessionServiceProvider::class,
  126. Illuminate\Translation\TranslationServiceProvider::class,
  127. Illuminate\Validation\ValidationServiceProvider::class,
  128. Illuminate\View\ViewServiceProvider::class,
  129. Barryvdh\Debugbar\ServiceProvider::class,
  130. // airsoft domain
  131. Airsoft\Repo\RepoServiceProvider::class,
  132. /*
  133. * Application Service Providers...
  134. */
  135. App\Providers\AppServiceProvider::class,
  136. App\Providers\AuthServiceProvider::class,
  137. App\Providers\EventServiceProvider::class,
  138. App\Providers\RouteServiceProvider::class,
  139. ],
  140. /*
  141. |--------------------------------------------------------------------------
  142. | Class Aliases
  143. |--------------------------------------------------------------------------
  144. |
  145. | This array of class aliases will be registered when this application
  146. | is started. However, feel free to register as many as you wish as
  147. | the aliases are "lazy" loaded so they don't hinder performance.
  148. |
  149. */
  150. 'aliases' => [
  151. 'App' => Illuminate\Support\Facades\App::class,
  152. 'Artisan' => Illuminate\Support\Facades\Artisan::class,
  153. 'Auth' => Illuminate\Support\Facades\Auth::class,
  154. 'Blade' => Illuminate\Support\Facades\Blade::class,
  155. 'Cache' => Illuminate\Support\Facades\Cache::class,
  156. 'Config' => Illuminate\Support\Facades\Config::class,
  157. 'Cookie' => Illuminate\Support\Facades\Cookie::class,
  158. 'Crypt' => Illuminate\Support\Facades\Crypt::class,
  159. 'DB' => Illuminate\Support\Facades\DB::class,
  160. 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
  161. 'Event' => Illuminate\Support\Facades\Event::class,
  162. 'File' => Illuminate\Support\Facades\File::class,
  163. 'Gate' => Illuminate\Support\Facades\Gate::class,
  164. 'Hash' => Illuminate\Support\Facades\Hash::class,
  165. 'Lang' => Illuminate\Support\Facades\Lang::class,
  166. 'Log' => Illuminate\Support\Facades\Log::class,
  167. 'Mail' => Illuminate\Support\Facades\Mail::class,
  168. 'Password' => Illuminate\Support\Facades\Password::class,
  169. 'Queue' => Illuminate\Support\Facades\Queue::class,
  170. 'Redirect' => Illuminate\Support\Facades\Redirect::class,
  171. 'Redis' => Illuminate\Support\Facades\Redis::class,
  172. 'Request' => Illuminate\Support\Facades\Request::class,
  173. 'Response' => Illuminate\Support\Facades\Response::class,
  174. 'Route' => Illuminate\Support\Facades\Route::class,
  175. 'Schema' => Illuminate\Support\Facades\Schema::class,
  176. 'Session' => Illuminate\Support\Facades\Session::class,
  177. 'Storage' => Illuminate\Support\Facades\Storage::class,
  178. 'URL' => Illuminate\Support\Facades\URL::class,
  179. 'Validator' => Illuminate\Support\Facades\Validator::class,
  180. 'View' => Illuminate\Support\Facades\View::class,
  181. 'Debugbar' => Barryvdh\Debugbar\Facade::class,
  182. ],
  183. ];