Просмотр файла config/app.php

Размер файла: 9.43Kb
  1. <?php
  2.  
  3. return [
  4.  
  5. /*
  6. |--------------------------------------------------------------------------
  7. | Application Name
  8. |--------------------------------------------------------------------------
  9. |
  10. | This value is the name of your application. This value is used when the
  11. | framework needs to place the application's name in a notification or
  12. | any other location as required by the application or its packages.
  13. |
  14. */
  15.  
  16. 'name' => env('APP_NAME', 'Rotor'),
  17.  
  18. /*
  19. |--------------------------------------------------------------------------
  20. | Application Environment
  21. |--------------------------------------------------------------------------
  22. |
  23. | This value determines the "environment" your application is currently
  24. | running in. This may determine how you prefer to configure various
  25. | services the application utilizes. Set this in your ".env" file.
  26. |
  27. */
  28.  
  29. 'env' => env('APP_ENV', 'production'),
  30.  
  31. /*
  32. |--------------------------------------------------------------------------
  33. | Application Debug Mode
  34. |--------------------------------------------------------------------------
  35. |
  36. | When your application is in debug mode, detailed error messages with
  37. | stack traces will be shown on every error that occurs within your
  38. | application. If disabled, a simple generic error page is shown.
  39. |
  40. */
  41.  
  42. 'debug' => (bool) env('APP_DEBUG', false),
  43.  
  44. /*
  45. |--------------------------------------------------------------------------
  46. | Application URL
  47. |--------------------------------------------------------------------------
  48. |
  49. | This URL is used by the console to properly generate URLs when using
  50. | the Artisan command line tool. You should set this to the root of
  51. | your application so that it is used when running Artisan tasks.
  52. |
  53. */
  54.  
  55. 'url' => env('APP_URL', 'http://localhost'),
  56.  
  57. 'asset_url' => env('ASSET_URL', null),
  58.  
  59. /*
  60. |--------------------------------------------------------------------------
  61. | Application Timezone
  62. |--------------------------------------------------------------------------
  63. |
  64. | Here you may specify the default timezone for your application, which
  65. | will be used by the PHP date and date-time functions. We have gone
  66. | ahead and set this to a sensible default for you out of the box.
  67. |
  68. */
  69.  
  70. 'timezone' => env('TIMEZONE', 'UTC'),
  71.  
  72. /*
  73. |--------------------------------------------------------------------------
  74. | Application Locale Configuration
  75. |--------------------------------------------------------------------------
  76. |
  77. | The application locale determines the default locale that will be used
  78. | by the translation service provider. You are free to set this value
  79. | to any of the locales which will be supported by the application.
  80. |
  81. */
  82.  
  83. 'locale' => 'ru',
  84.  
  85. /*
  86. |--------------------------------------------------------------------------
  87. | Application Fallback Locale
  88. |--------------------------------------------------------------------------
  89. |
  90. | The fallback locale determines the locale to use when the current one
  91. | is not available. You may change the value to correspond to any of
  92. | the language folders that are provided through your application.
  93. |
  94. */
  95.  
  96. 'fallback_locale' => 'ru',
  97.  
  98. /*
  99. |--------------------------------------------------------------------------
  100. | Faker Locale
  101. |--------------------------------------------------------------------------
  102. |
  103. | This locale will be used by the Faker PHP library when generating fake
  104. | data for your database seeds. For example, this will be used to get
  105. | localized telephone numbers, street address information and more.
  106. |
  107. */
  108.  
  109. 'faker_locale' => 'ru_RU',
  110.  
  111. /*
  112. |--------------------------------------------------------------------------
  113. | Encryption Key
  114. |--------------------------------------------------------------------------
  115. |
  116. | This key is used by the Illuminate encrypter service and should be set
  117. | to a random, 32 character string, otherwise these encrypted strings
  118. | will not be safe. Please do this before deploying an application!
  119. |
  120. */
  121.  
  122. 'key' => env('APP_KEY'),
  123.  
  124. 'cipher' => 'AES-256-CBC',
  125.  
  126. /*
  127. |--------------------------------------------------------------------------
  128. | Additional data
  129. |--------------------------------------------------------------------------
  130. */
  131.  
  132. 'email' => env('APP_EMAIL'),
  133.  
  134. 'admin' => env('APP_ADMIN'),
  135.  
  136. /*
  137. |--------------------------------------------------------------------------
  138. | Autoloaded Service Providers
  139. |--------------------------------------------------------------------------
  140. |
  141. | The service providers listed here will be automatically loaded on the
  142. | request to your application. Feel free to add your own services to
  143. | this array to grant expanded functionality to your applications.
  144. |
  145. */
  146.  
  147. //'mix_url' => env('MIX_ASSET_URL', base_path('public/assets/js/dist')),
  148.  
  149. 'providers' => [
  150.  
  151. /*
  152. * Laravel Framework Service Providers...
  153. */
  154. Illuminate\Auth\AuthServiceProvider::class,
  155. Illuminate\Broadcasting\BroadcastServiceProvider::class,
  156. Illuminate\Bus\BusServiceProvider::class,
  157. Illuminate\Cache\CacheServiceProvider::class,
  158. Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
  159. Illuminate\Cookie\CookieServiceProvider::class,
  160. Illuminate\Database\DatabaseServiceProvider::class,
  161. Illuminate\Encryption\EncryptionServiceProvider::class,
  162. Illuminate\Filesystem\FilesystemServiceProvider::class,
  163. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  164. Illuminate\Hashing\HashServiceProvider::class,
  165. Illuminate\Mail\MailServiceProvider::class,
  166. Illuminate\Notifications\NotificationServiceProvider::class,
  167. Illuminate\Pagination\PaginationServiceProvider::class,
  168. Illuminate\Pipeline\PipelineServiceProvider::class,
  169. Illuminate\Queue\QueueServiceProvider::class,
  170. Illuminate\Redis\RedisServiceProvider::class,
  171. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  172. Illuminate\Session\SessionServiceProvider::class,
  173. Illuminate\Translation\TranslationServiceProvider::class,
  174. Illuminate\Validation\ValidationServiceProvider::class,
  175. Illuminate\View\ViewServiceProvider::class,
  176.  
  177. /*
  178. * Package Service Providers...
  179. */
  180.  
  181. /*
  182. * Application Service Providers...
  183. */
  184. App\Providers\AppServiceProvider::class,
  185. App\Providers\AuthServiceProvider::class,
  186. // App\Providers\BroadcastServiceProvider::class,
  187. App\Providers\EventServiceProvider::class,
  188. App\Providers\RouteServiceProvider::class,
  189.  
  190. ],
  191.  
  192. /*
  193. |--------------------------------------------------------------------------
  194. | Class Aliases
  195. |--------------------------------------------------------------------------
  196. |
  197. | This array of class aliases will be registered when this application
  198. | is started. However, feel free to register as many as you wish as
  199. | the aliases are "lazy" loaded so they don't hinder performance.
  200. |
  201. */
  202.  
  203. 'aliases' => [
  204.  
  205. 'App' => Illuminate\Support\Facades\App::class,
  206. 'Arr' => Illuminate\Support\Arr::class,
  207. 'Artisan' => Illuminate\Support\Facades\Artisan::class,
  208. 'Auth' => Illuminate\Support\Facades\Auth::class,
  209. 'Blade' => Illuminate\Support\Facades\Blade::class,
  210. 'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
  211. 'Bus' => Illuminate\Support\Facades\Bus::class,
  212. 'Cache' => Illuminate\Support\Facades\Cache::class,
  213. 'Config' => Illuminate\Support\Facades\Config::class,
  214. 'Cookie' => Illuminate\Support\Facades\Cookie::class,
  215. 'Crypt' => Illuminate\Support\Facades\Crypt::class,
  216. 'Date' => Illuminate\Support\Facades\Date::class,
  217. 'DB' => Illuminate\Support\Facades\DB::class,
  218. 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
  219. 'Event' => Illuminate\Support\Facades\Event::class,
  220. 'File' => Illuminate\Support\Facades\File::class,
  221. 'Gate' => Illuminate\Support\Facades\Gate::class,
  222. 'Hash' => Illuminate\Support\Facades\Hash::class,
  223. 'Http' => Illuminate\Support\Facades\Http::class,
  224. 'Lang' => Illuminate\Support\Facades\Lang::class,
  225. 'Log' => Illuminate\Support\Facades\Log::class,
  226. 'Mail' => Illuminate\Support\Facades\Mail::class,
  227. 'Notification' => Illuminate\Support\Facades\Notification::class,
  228. 'Password' => Illuminate\Support\Facades\Password::class,
  229. 'Queue' => Illuminate\Support\Facades\Queue::class,
  230. 'Redirect' => Illuminate\Support\Facades\Redirect::class,
  231. // 'Redis' => Illuminate\Support\Facades\Redis::class,
  232. 'Request' => Illuminate\Support\Facades\Request::class,
  233. 'Response' => Illuminate\Support\Facades\Response::class,
  234. 'Route' => Illuminate\Support\Facades\Route::class,
  235. 'Schema' => Illuminate\Support\Facades\Schema::class,
  236. 'Session' => Illuminate\Support\Facades\Session::class,
  237. 'Storage' => Illuminate\Support\Facades\Storage::class,
  238. 'Str' => Illuminate\Support\Str::class,
  239. 'URL' => Illuminate\Support\Facades\URL::class,
  240. 'Validator' => Illuminate\Support\Facades\Validator::class,
  241. 'View' => Illuminate\Support\Facades\View::class,
  242.  
  243. ],
  244.  
  245. ];