PageRenderTime 94ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/config/app.php

https://gitlab.com/laravel.dev01/moto-land
PHP | 238 lines | 84 code | 32 blank | 122 comment | 0 complexity | 0e24625a9002bc7b19c4efeff729e66a MD5 | raw file
  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', '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. | your application so that it is used when running Artisan tasks.
  44. |
  45. */
  46. 'url' => env('APP_URL', 'http://localhost'),
  47. 'asset_url' => env('ASSET_URL', null),
  48. /*
  49. |--------------------------------------------------------------------------
  50. | Application Timezone
  51. |--------------------------------------------------------------------------
  52. |
  53. | Here you may specify the default timezone for your application, which
  54. | will be used by the PHP date and date-time functions. We have gone
  55. | ahead and set this to a sensible default for you out of the box.
  56. |
  57. */
  58. 'timezone' => 'UTC',
  59. /*
  60. |--------------------------------------------------------------------------
  61. | Application Locale Configuration
  62. |--------------------------------------------------------------------------
  63. |
  64. | The application locale determines the default locale that will be used
  65. | by the translation service provider. You are free to set this value
  66. | to any of the locales which will be supported by the application.
  67. |
  68. */
  69. 'locale' => 'en',
  70. /*
  71. |--------------------------------------------------------------------------
  72. | Application Fallback Locale
  73. |--------------------------------------------------------------------------
  74. |
  75. | The fallback locale determines the locale to use when the current one
  76. | is not available. You may change the value to correspond to any of
  77. | the language folders that are provided through your application.
  78. |
  79. */
  80. 'fallback_locale' => 'en',
  81. /*
  82. |--------------------------------------------------------------------------
  83. | Faker Locale
  84. |--------------------------------------------------------------------------
  85. |
  86. | This locale will be used by the Faker PHP library when generating fake
  87. | data for your database seeds. For example, this will be used to get
  88. | localized telephone numbers, street address information and more.
  89. |
  90. */
  91. // 'faker_locale' => 'en_US',
  92. 'faker_locale' => 'ru_RU',
  93. /*
  94. |--------------------------------------------------------------------------
  95. | Encryption Key
  96. |--------------------------------------------------------------------------
  97. |
  98. | This key is used by the Illuminate encrypter service and should be set
  99. | to a random, 32 character string, otherwise these encrypted strings
  100. | will not be safe. Please do this before deploying an application!
  101. |
  102. */
  103. 'key' => env('APP_KEY'),
  104. 'cipher' => 'AES-256-CBC',
  105. /*
  106. |--------------------------------------------------------------------------
  107. | Autoloaded Service Providers
  108. |--------------------------------------------------------------------------
  109. |
  110. | The service providers listed here will be automatically loaded on the
  111. | request to your application. Feel free to add your own services to
  112. | this array to grant expanded functionality to your applications.
  113. |
  114. */
  115. 'providers' => [
  116. /*
  117. * Laravel Framework Service Providers...
  118. */
  119. Illuminate\Auth\AuthServiceProvider::class,
  120. Illuminate\Broadcasting\BroadcastServiceProvider::class,
  121. Illuminate\Bus\BusServiceProvider::class,
  122. Illuminate\Cache\CacheServiceProvider::class,
  123. Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
  124. Illuminate\Cookie\CookieServiceProvider::class,
  125. Illuminate\Database\DatabaseServiceProvider::class,
  126. Illuminate\Encryption\EncryptionServiceProvider::class,
  127. Illuminate\Filesystem\FilesystemServiceProvider::class,
  128. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  129. Illuminate\Hashing\HashServiceProvider::class,
  130. Illuminate\Mail\MailServiceProvider::class,
  131. Illuminate\Notifications\NotificationServiceProvider::class,
  132. Illuminate\Pagination\PaginationServiceProvider::class,
  133. Illuminate\Pipeline\PipelineServiceProvider::class,
  134. Illuminate\Queue\QueueServiceProvider::class,
  135. Illuminate\Redis\RedisServiceProvider::class,
  136. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  137. Illuminate\Session\SessionServiceProvider::class,
  138. Illuminate\Translation\TranslationServiceProvider::class,
  139. Illuminate\Validation\ValidationServiceProvider::class,
  140. Illuminate\View\ViewServiceProvider::class,
  141. /*
  142. * Package Service Providers...
  143. */
  144. /*
  145. * Application Service Providers...
  146. */
  147. App\Providers\AppServiceProvider::class,
  148. App\Providers\AuthServiceProvider::class,
  149. // App\Providers\BroadcastServiceProvider::class,
  150. App\Providers\EventServiceProvider::class,
  151. App\Providers\RouteServiceProvider::class,
  152. Maatwebsite\Excel\ExcelServiceProvider::class,
  153. ],
  154. /*
  155. |--------------------------------------------------------------------------
  156. | Class Aliases
  157. |--------------------------------------------------------------------------
  158. |
  159. | This array of class aliases will be registered when this application
  160. | is started. However, feel free to register as many as you wish as
  161. | the aliases are "lazy" loaded so they don't hinder performance.
  162. |
  163. */
  164. 'aliases' => [
  165. 'App' => Illuminate\Support\Facades\App::class,
  166. 'Arr' => Illuminate\Support\Arr::class,
  167. 'Artisan' => Illuminate\Support\Facades\Artisan::class,
  168. 'Auth' => Illuminate\Support\Facades\Auth::class,
  169. 'Blade' => Illuminate\Support\Facades\Blade::class,
  170. 'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
  171. 'Bus' => Illuminate\Support\Facades\Bus::class,
  172. 'Cache' => Illuminate\Support\Facades\Cache::class,
  173. 'Config' => Illuminate\Support\Facades\Config::class,
  174. 'Cookie' => Illuminate\Support\Facades\Cookie::class,
  175. 'Crypt' => Illuminate\Support\Facades\Crypt::class,
  176. 'Date' => Illuminate\Support\Facades\Date::class,
  177. 'DB' => Illuminate\Support\Facades\DB::class,
  178. 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
  179. 'Event' => Illuminate\Support\Facades\Event::class,
  180. 'File' => Illuminate\Support\Facades\File::class,
  181. 'Gate' => Illuminate\Support\Facades\Gate::class,
  182. 'Hash' => Illuminate\Support\Facades\Hash::class,
  183. 'Http' => Illuminate\Support\Facades\Http::class,
  184. 'Js' => Illuminate\Support\Js::class,
  185. 'Lang' => Illuminate\Support\Facades\Lang::class,
  186. 'Log' => Illuminate\Support\Facades\Log::class,
  187. 'Mail' => Illuminate\Support\Facades\Mail::class,
  188. 'Notification' => Illuminate\Support\Facades\Notification::class,
  189. 'Password' => Illuminate\Support\Facades\Password::class,
  190. 'Queue' => Illuminate\Support\Facades\Queue::class,
  191. 'RateLimiter' => Illuminate\Support\Facades\RateLimiter::class,
  192. 'Redirect' => Illuminate\Support\Facades\Redirect::class,
  193. // 'Redis' => Illuminate\Support\Facades\Redis::class,
  194. 'Request' => Illuminate\Support\Facades\Request::class,
  195. 'Response' => Illuminate\Support\Facades\Response::class,
  196. 'Route' => Illuminate\Support\Facades\Route::class,
  197. 'Schema' => Illuminate\Support\Facades\Schema::class,
  198. 'Session' => Illuminate\Support\Facades\Session::class,
  199. 'Storage' => Illuminate\Support\Facades\Storage::class,
  200. 'Str' => Illuminate\Support\Str::class,
  201. 'URL' => Illuminate\Support\Facades\URL::class,
  202. 'Validator' => Illuminate\Support\Facades\Validator::class,
  203. 'View' => Illuminate\Support\Facades\View::class,
  204. 'Excel' => Maatwebsite\Excel\Facades\Excel::class,
  205. ],
  206. ];