app.php 7.9 KB

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