Advertisement
pandonus

Untitled

Dec 17th, 2018
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.68 KB | None | 0 0
  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. 'name' => 'Laravel',
  16.  
  17. /*
  18. |--------------------------------------------------------------------------
  19. | Application Environment
  20. |--------------------------------------------------------------------------
  21. |
  22. | This value determines the "environment" your application is currently
  23. | running in. This may determine how you prefer to configure various
  24. | services your application utilizes. Set this in your ".env" file.
  25. |
  26. */
  27.  
  28. 'env' => env('APP_ENV', 'production'),
  29.  
  30. /*
  31. |--------------------------------------------------------------------------
  32. | Application Debug Mode
  33. |--------------------------------------------------------------------------
  34. |
  35. | When your application is in debug mode, detailed error messages with
  36. | stack traces will be shown on every error that occurs within your
  37. | application. If disabled, a simple generic error page is shown.
  38. |
  39. */
  40.  
  41. 'debug' => env('APP_DEBUG', false),
  42.  
  43. /*
  44. |--------------------------------------------------------------------------
  45. | Application URL
  46. |--------------------------------------------------------------------------
  47. |
  48. | This URL is used by the console to properly generate URLs when using
  49. | the Artisan command line tool. You should set this to the root of
  50. | your application so that it is used when running Artisan tasks.
  51. |
  52. */
  53.  
  54. 'url' => env('APP_URL', 'http://localhost'),
  55.  
  56. /*
  57. |--------------------------------------------------------------------------
  58. | Application Timezone
  59. |--------------------------------------------------------------------------
  60. |
  61. | Here you may specify the default timezone for your application, which
  62. | will be used by the PHP date and date-time functions. We have gone
  63. | ahead and set this to a sensible default for you out of the box.
  64. |
  65. */
  66.  
  67. 'timezone' => 'UTC',
  68.  
  69. /*
  70. |--------------------------------------------------------------------------
  71. | Application Locale Configuration
  72. |--------------------------------------------------------------------------
  73. |
  74. | The application locale determines the default locale that will be used
  75. | by the translation service provider. You are free to set this value
  76. | to any of the locales which will be supported by the application.
  77. |
  78. */
  79.  
  80. 'locale' => 'en',
  81.  
  82. /*
  83. |--------------------------------------------------------------------------
  84. | Application Fallback Locale
  85. |--------------------------------------------------------------------------
  86. |
  87. | The fallback locale determines the locale to use when the current one
  88. | is not available. You may change the value to correspond to any of
  89. | the language folders that are provided through your application.
  90. |
  91. */
  92.  
  93. 'fallback_locale' => 'en',
  94.  
  95. /*
  96. |--------------------------------------------------------------------------
  97. | Encryption Key
  98. |--------------------------------------------------------------------------
  99. |
  100. | This key is used by the Illuminate encrypter service and should be set
  101. | to a random, 32 character string, otherwise these encrypted strings
  102. | will not be safe. Please do this before deploying an application!
  103. |
  104. */
  105.  
  106. 'key' => env('APP_KEY'),
  107.  
  108. 'cipher' => 'AES-256-CBC',
  109.  
  110. /*
  111. |--------------------------------------------------------------------------
  112. | Logging Configuration
  113. |--------------------------------------------------------------------------
  114. |
  115. | Here you may configure the log settings for your application. Out of
  116. | the box, Laravel uses the Monolog PHP logging library. This gives
  117. | you a variety of powerful log handlers / formatters to utilize.
  118. |
  119. | Available Settings: "single", "daily", "syslog", "errorlog"
  120. |
  121. */
  122.  
  123. 'log' => env('APP_LOG', 'single'),
  124.  
  125. 'log_level' => env('APP_LOG_LEVEL', 'debug'),
  126.  
  127. /*
  128. |--------------------------------------------------------------------------
  129. | Autoloaded Service Providers
  130. |--------------------------------------------------------------------------
  131. |
  132. | The service providers listed here will be automatically loaded on the
  133. | request to your application. Feel free to add your own services to
  134. | this array to grant expanded functionality to your applications.
  135. |
  136. */
  137.  
  138. 'providers' => [
  139.  
  140. /*
  141. * Laravel Framework Service Providers...
  142. */
  143. Illuminate\Auth\AuthServiceProvider::class,
  144. Illuminate\Broadcasting\BroadcastServiceProvider::class,
  145. Illuminate\Bus\BusServiceProvider::class,
  146. Illuminate\Cache\CacheServiceProvider::class,
  147. Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
  148. Illuminate\Cookie\CookieServiceProvider::class,
  149. Illuminate\Database\DatabaseServiceProvider::class,
  150. Illuminate\Encryption\EncryptionServiceProvider::class,
  151. Illuminate\Filesystem\FilesystemServiceProvider::class,
  152. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  153. Illuminate\Hashing\HashServiceProvider::class,
  154. Illuminate\Mail\MailServiceProvider::class,
  155. Illuminate\Notifications\NotificationServiceProvider::class,
  156. Illuminate\Pagination\PaginationServiceProvider::class,
  157. Illuminate\Pipeline\PipelineServiceProvider::class,
  158. Illuminate\Queue\QueueServiceProvider::class,
  159. Illuminate\Redis\RedisServiceProvider::class,
  160. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  161. Illuminate\Session\SessionServiceProvider::class,
  162. Illuminate\Translation\TranslationServiceProvider::class,
  163. Illuminate\Validation\ValidationServiceProvider::class,
  164. Illuminate\View\ViewServiceProvider::class,
  165. Barryvdh\Debugbar\ServiceProvider::class,
  166. Collective\Html\HtmlServiceProvider::class,
  167. odannyc\Alertify\AlertifyServiceProvider::class,
  168.  
  169. /*
  170. * Package Service Providers...
  171. */
  172. Laravel\Tinker\TinkerServiceProvider::class,
  173.  
  174. /*
  175. * Application Service Providers...
  176. */
  177. App\Providers\AppServiceProvider::class,
  178. App\Providers\AuthServiceProvider::class,
  179. // App\Providers\BroadcastServiceProvider::class,
  180. App\Providers\EventServiceProvider::class,
  181. App\Providers\RouteServiceProvider::class,
  182. App\Providers\GobalProvider::class, //เพิ่ม Provider เข้ามาเอง
  183.  
  184. ],
  185.  
  186. /*
  187. |--------------------------------------------------------------------------
  188. | Class Aliases
  189. |--------------------------------------------------------------------------
  190. |
  191. | This array of class aliases will be registered when this application
  192. | is started. However, feel free to register as many as you wish as
  193. | the aliases are "lazy" loaded so they don't hinder performance.
  194. |
  195. */
  196.  
  197. 'aliases' => [
  198.  
  199. 'App' => Illuminate\Support\Facades\App::class,
  200. 'Artisan' => Illuminate\Support\Facades\Artisan::class,
  201. 'Auth' => Illuminate\Support\Facades\Auth::class,
  202. 'Blade' => Illuminate\Support\Facades\Blade::class,
  203. 'Broadcast' => Illuminate\Support\Facades\Broadcast::class,
  204. 'Bus' => Illuminate\Support\Facades\Bus::class,
  205. 'Cache' => Illuminate\Support\Facades\Cache::class,
  206. 'Config' => Illuminate\Support\Facades\Config::class,
  207. 'Cookie' => Illuminate\Support\Facades\Cookie::class,
  208. 'Crypt' => Illuminate\Support\Facades\Crypt::class,
  209. 'DB' => Illuminate\Support\Facades\DB::class,
  210. 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
  211. 'Event' => Illuminate\Support\Facades\Event::class,
  212. 'File' => Illuminate\Support\Facades\File::class,
  213. 'Gate' => Illuminate\Support\Facades\Gate::class,
  214. 'Hash' => Illuminate\Support\Facades\Hash::class,
  215. 'Lang' => Illuminate\Support\Facades\Lang::class,
  216. 'Log' => Illuminate\Support\Facades\Log::class,
  217. 'Mail' => Illuminate\Support\Facades\Mail::class,
  218. 'Notification' => Illuminate\Support\Facades\Notification::class,
  219. 'Password' => Illuminate\Support\Facades\Password::class,
  220. 'Queue' => Illuminate\Support\Facades\Queue::class,
  221. 'Redirect' => Illuminate\Support\Facades\Redirect::class,
  222. 'Redis' => Illuminate\Support\Facades\Redis::class,
  223. 'Request' => Illuminate\Support\Facades\Request::class,
  224. 'Response' => Illuminate\Support\Facades\Response::class,
  225. 'Route' => Illuminate\Support\Facades\Route::class,
  226. 'Schema' => Illuminate\Support\Facades\Schema::class,
  227. 'Session' => Illuminate\Support\Facades\Session::class,
  228. 'Storage' => Illuminate\Support\Facades\Storage::class,
  229. 'URL' => Illuminate\Support\Facades\URL::class,
  230. 'Validator' => Illuminate\Support\Facades\Validator::class,
  231. 'View' => Illuminate\Support\Facades\View::class,
  232. 'Debugbar' => Barryvdh\Debugbar\Facade::class,
  233. 'Form' => Collective\Html\FormFacade::class,
  234. 'Html' => Collective\Html\HtmlFacade::class,
  235. 'Alertify' => odannyc\Alertify\Alertify::class,
  236.  
  237. ],
  238.  
  239. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement