PageRenderTime 51ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/config/app.php

https://gitlab.com/tuonglv/library_tuong
PHP | 217 lines | 101 code | 12 blank | 104 comment | 0 complexity | bb7708ce40e393e3df3cc32d04ebec52 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' => env('APP_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' => 'Asia/Ho_Chi_Minh',
  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' => 'daily',
  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\EventServiceProvider::class,
  125. App\Providers\RouteServiceProvider::class,
  126. /*
  127. * Package Service Providers...
  128. */
  129. Pingpong\Modules\ModulesServiceProvider::class,
  130. Collective\Html\HtmlServiceProvider::class,
  131. Dingo\Api\Provider\LaravelServiceProvider::class,
  132. LucaDegasperi\OAuth2Server\Storage\FluentStorageServiceProvider::class,
  133. LucaDegasperi\OAuth2Server\OAuth2ServerServiceProvider::class,
  134. Zizaco\Entrust\EntrustServiceProvider::class,
  135. Teepluss\Theme\ThemeServiceProvider::class,
  136. Pingpong\Widget\WidgetServiceProvider::class,
  137. Pingpong\Shortcode\ShortcodeServiceProvider::class,
  138. Laracasts\Flash\FlashServiceProvider::class,
  139. Caffeinated\Menus\MenusServiceProvider::class,
  140. Yajra\Datatables\DatatablesServiceProvider::class,
  141. Cviebrock\EloquentSluggable\SluggableServiceProvider::class,
  142. Ngocnh\Translator\TranslatorServiceProvider::class,
  143. Khill\Lavacharts\Laravel\LavachartsServiceProvider::class,
  144. Ngocnh\Highchart\HighchartServiceProvider::class,
  145. Barryvdh\Cors\ServiceProvider::class
  146. ],
  147. /*
  148. |--------------------------------------------------------------------------
  149. | Class Aliases
  150. |--------------------------------------------------------------------------
  151. |
  152. | This array of class aliases will be registered when this application
  153. | is started. However, feel free to register as many as you wish as
  154. | the aliases are "lazy" loaded so they don't hinder performance.
  155. |
  156. */
  157. 'aliases' => [
  158. 'App' => Illuminate\Support\Facades\App::class,
  159. 'Artisan' => Illuminate\Support\Facades\Artisan::class,
  160. 'Auth' => Illuminate\Support\Facades\Auth::class,
  161. 'Blade' => Illuminate\Support\Facades\Blade::class,
  162. 'Bus' => Illuminate\Support\Facades\Bus::class,
  163. 'Cache' => Illuminate\Support\Facades\Cache::class,
  164. 'Config' => Illuminate\Support\Facades\Config::class,
  165. 'Cookie' => Illuminate\Support\Facades\Cookie::class,
  166. 'Crypt' => Illuminate\Support\Facades\Crypt::class,
  167. 'DB' => Illuminate\Support\Facades\DB::class,
  168. 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
  169. 'Event' => Illuminate\Support\Facades\Event::class,
  170. 'File' => Illuminate\Support\Facades\File::class,
  171. 'Hash' => Illuminate\Support\Facades\Hash::class,
  172. 'Input' => Illuminate\Support\Facades\Input::class,
  173. 'Inspiring' => Illuminate\Foundation\Inspiring::class,
  174. 'Lang' => Illuminate\Support\Facades\Lang::class,
  175. 'Log' => Illuminate\Support\Facades\Log::class,
  176. 'Mail' => Illuminate\Support\Facades\Mail::class,
  177. 'Password' => Illuminate\Support\Facades\Password::class,
  178. 'Queue' => Illuminate\Support\Facades\Queue::class,
  179. 'Redirect' => Illuminate\Support\Facades\Redirect::class,
  180. 'Redis' => Illuminate\Support\Facades\Redis::class,
  181. 'Request' => Illuminate\Support\Facades\Request::class,
  182. 'Response' => Illuminate\Support\Facades\Response::class,
  183. 'Route' => Illuminate\Support\Facades\Route::class,
  184. 'Schema' => Illuminate\Support\Facades\Schema::class,
  185. 'Session' => Illuminate\Support\Facades\Session::class,
  186. 'Storage' => Illuminate\Support\Facades\Storage::class,
  187. 'URL' => Illuminate\Support\Facades\URL::class,
  188. 'Validator' => Illuminate\Support\Facades\Validator::class,
  189. 'View' => Illuminate\Support\Facades\View::class,
  190. 'Module' => Pingpong\Modules\Facades\Module::class,
  191. 'Form' => Collective\Html\FormFacade::class,
  192. 'Html' => Collective\Html\HtmlFacade::class,
  193. 'Authorizer' => LucaDegasperi\OAuth2Server\Facades\Authorizer::class,
  194. 'Entrust' => Zizaco\Entrust\EntrustFacade::class,
  195. 'Theme' => Teepluss\Theme\Facades\Theme::class,
  196. 'Widget' => Pingpong\Widget\WidgetFacade::class,
  197. 'Shortcode' => Pingpong\Shortcode\ShortcodeFacade::class,
  198. 'Flash' => Laracasts\Flash\Flash::class,
  199. 'Menu' => Caffeinated\Menus\Facades\Menu::class,
  200. /*
  201. * Aliases Dev
  202. */
  203. 'Debugbar' => Barryvdh\Debugbar\Facade::class,
  204. ],
  205. ];