PageRenderTime 47ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 1ms

/backend-blogtamsu/config/app.php

https://gitlab.com/ntphuc/FoodyBackend
PHP | 209 lines | 79 code | 25 blank | 105 comment | 0 complexity | a5fa71c2db145808e25aa7a056f38846 MD5 | raw file
  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' => '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\Cookie\CookieServiceProvider::class,
  104. Illuminate\Database\DatabaseServiceProvider::class,
  105. Illuminate\Encryption\EncryptionServiceProvider::class,
  106. Illuminate\Filesystem\FilesystemServiceProvider::class,
  107. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  108. Illuminate\Hashing\HashServiceProvider::class,
  109. Illuminate\Mail\MailServiceProvider::class,
  110. Illuminate\Pagination\PaginationServiceProvider::class,
  111. Illuminate\Pipeline\PipelineServiceProvider::class,
  112. Illuminate\Queue\QueueServiceProvider::class,
  113. Illuminate\Redis\RedisServiceProvider::class,
  114. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  115. Illuminate\Session\SessionServiceProvider::class,
  116. Illuminate\Translation\TranslationServiceProvider::class,
  117. Illuminate\Validation\ValidationServiceProvider::class,
  118. Illuminate\View\ViewServiceProvider::class,
  119. /*
  120. * Application Service Providers...
  121. */
  122. App\Providers\AppServiceProvider::class,
  123. App\Providers\AuthServiceProvider::class,
  124. App\Providers\EventServiceProvider::class,
  125. App\Providers\RouteServiceProvider::class,
  126. /**
  127. * Third party
  128. */
  129. Pingpong\Menus\MenusServiceProvider::class,
  130. Barryvdh\Debugbar\ServiceProvider::class,
  131. Yajra\Datatables\DatatablesServiceProvider::class,
  132. ],
  133. /*
  134. |--------------------------------------------------------------------------
  135. | Class Aliases
  136. |--------------------------------------------------------------------------
  137. |
  138. | This array of class aliases will be registered when this application
  139. | is started. However, feel free to register as many as you wish as
  140. | the aliases are "lazy" loaded so they don't hinder performance.
  141. |
  142. */
  143. 'aliases' => [
  144. 'App' => Illuminate\Support\Facades\App::class,
  145. 'Artisan' => Illuminate\Support\Facades\Artisan::class,
  146. 'Auth' => Illuminate\Support\Facades\Auth::class,
  147. 'Blade' => Illuminate\Support\Facades\Blade::class,
  148. 'Bus' => Illuminate\Support\Facades\Bus::class,
  149. 'Cache' => Illuminate\Support\Facades\Cache::class,
  150. 'Config' => Illuminate\Support\Facades\Config::class,
  151. 'Cookie' => Illuminate\Support\Facades\Cookie::class,
  152. 'Crypt' => Illuminate\Support\Facades\Crypt::class,
  153. 'DB' => Illuminate\Support\Facades\DB::class,
  154. 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
  155. 'Event' => Illuminate\Support\Facades\Event::class,
  156. 'File' => Illuminate\Support\Facades\File::class,
  157. 'Gate' => Illuminate\Support\Facades\Gate::class,
  158. 'Hash' => Illuminate\Support\Facades\Hash::class,
  159. 'Input' => Illuminate\Support\Facades\Input::class,
  160. 'Inspiring' => Illuminate\Foundation\Inspiring::class,
  161. 'Lang' => Illuminate\Support\Facades\Lang::class,
  162. 'Log' => Illuminate\Support\Facades\Log::class,
  163. 'Mail' => Illuminate\Support\Facades\Mail::class,
  164. 'Password' => Illuminate\Support\Facades\Password::class,
  165. 'Queue' => Illuminate\Support\Facades\Queue::class,
  166. 'Redirect' => Illuminate\Support\Facades\Redirect::class,
  167. 'Redis' => Illuminate\Support\Facades\Redis::class,
  168. 'Request' => Illuminate\Support\Facades\Request::class,
  169. 'Response' => Illuminate\Support\Facades\Response::class,
  170. 'Route' => Illuminate\Support\Facades\Route::class,
  171. 'Schema' => Illuminate\Support\Facades\Schema::class,
  172. 'Session' => Illuminate\Support\Facades\Session::class,
  173. 'Storage' => Illuminate\Support\Facades\Storage::class,
  174. 'URL' => Illuminate\Support\Facades\URL::class,
  175. 'Validator' => Illuminate\Support\Facades\Validator::class,
  176. 'View' => Illuminate\Support\Facades\View::class,
  177. /**
  178. * Third party
  179. */
  180. 'Debugbar' => Barryvdh\Debugbar\Facade::class,
  181. 'Menu' => Pingpong\Menus\MenuFacade::class,
  182. 'Datatables' => Yajra\Datatables\Datatables::class,
  183. ],
  184. ];