app.php 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. <?php
  2. return [
  3. 'is_shen_he' => 1,
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Application Environment
  7. |--------------------------------------------------------------------------
  8. |
  9. | This value determines the "environment" your application is currently
  10. | running in. This may determine how you prefer to configure various
  11. | services your application utilizes. Set this in your ".env" file.
  12. |
  13. */
  14. 'env' => env('APP_ENV', 'production'),
  15. /*
  16. |--------------------------------------------------------------------------
  17. | Application Debug Mode
  18. |--------------------------------------------------------------------------
  19. |
  20. | When your application is in debug mode, detailed error messages with
  21. | stack traces will be shown on every error that occurs within your
  22. | application. If disabled, a simple generic error page is shown.
  23. |
  24. */
  25. 'debug' => env('APP_DEBUG', true),
  26. /*
  27. |--------------------------------------------------------------------------
  28. | Application URL
  29. |--------------------------------------------------------------------------
  30. |
  31. | This URL is used by the console to properly generate URLs when using
  32. | the Artisan command line tool. You should set this to the root of
  33. | your application so that it is used when running Artisan tasks.
  34. |
  35. */
  36. 'url' => env('APP_URL', 'http://localhost'),
  37. /*
  38. |--------------------------------------------------------------------------
  39. | Application Timezone
  40. |--------------------------------------------------------------------------
  41. |
  42. | Here you may specify the default timezone for your application, which
  43. | will be used by the PHP date and date-time functions. We have gone
  44. | ahead and set this to a sensible default for you out of the box.
  45. |
  46. */
  47. 'timezone' => 'Asia/Shanghai',
  48. /*
  49. |--------------------------------------------------------------------------
  50. | Application Locale Configuration
  51. |--------------------------------------------------------------------------
  52. |
  53. | The application locale determines the default locale that will be used
  54. | by the translation service provider. You are free to set this value
  55. | to any of the locales which will be supported by the application.
  56. |
  57. */
  58. 'locale' => 'en',
  59. /*
  60. |--------------------------------------------------------------------------
  61. | Application Fallback Locale
  62. |--------------------------------------------------------------------------
  63. |
  64. | The fallback locale determines the locale to use when the current one
  65. | is not available. You may change the value to correspond to any of
  66. | the language folders that are provided through your application.
  67. |
  68. */
  69. 'fallback_locale' => 'en',
  70. /*
  71. |--------------------------------------------------------------------------
  72. | Encryption Key
  73. |--------------------------------------------------------------------------
  74. |
  75. | This key is used by the Illuminate encrypter service and should be set
  76. | to a random, 32 character string, otherwise these encrypted strings
  77. | will not be safe. Please do this before deploying an application!
  78. |
  79. */
  80. 'key' => env('APP_KEY'),
  81. 'cipher' => 'AES-256-CBC',
  82. /*
  83. |--------------------------------------------------------------------------
  84. | Logging Configuration
  85. |--------------------------------------------------------------------------
  86. |
  87. | Here you may configure the log settings for your application. Out of
  88. | the box, Laravel uses the Monolog PHP logging library. This gives
  89. | you a variety of powerful log handlers / formatters to utilize.
  90. |
  91. | Available Settings: "single", "daily", "syslog", "errorlog"
  92. |
  93. */
  94. 'log' => env('APP_LOG', 'single'),
  95. 'log_max_files' => env('LOG_MAX_FILES', 3),
  96. /*
  97. |--------------------------------------------------------------------------
  98. | Autoloaded Service Providers
  99. |--------------------------------------------------------------------------
  100. |
  101. | The service providers listed here will be automatically loaded on the
  102. | request to your application. Feel free to add your own services to
  103. | this array to grant expanded functionality to your applications.
  104. |
  105. */
  106. 'providers' => [
  107. /*
  108. * Laravel Framework Service Providers...
  109. */
  110. Illuminate\Auth\AuthServiceProvider::class,
  111. Illuminate\Broadcasting\BroadcastServiceProvider::class,
  112. Illuminate\Bus\BusServiceProvider::class,
  113. Illuminate\Cache\CacheServiceProvider::class,
  114. Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
  115. Illuminate\Cookie\CookieServiceProvider::class,
  116. Illuminate\Database\DatabaseServiceProvider::class,
  117. Illuminate\Encryption\EncryptionServiceProvider::class,
  118. Illuminate\Filesystem\FilesystemServiceProvider::class,
  119. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  120. Illuminate\Hashing\HashServiceProvider::class,
  121. Illuminate\Mail\MailServiceProvider::class,
  122. Illuminate\Pagination\PaginationServiceProvider::class,
  123. Illuminate\Pipeline\PipelineServiceProvider::class,
  124. Illuminate\Queue\QueueServiceProvider::class,
  125. Illuminate\Redis\RedisServiceProvider::class,
  126. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  127. Illuminate\Session\SessionServiceProvider::class,
  128. Illuminate\Translation\TranslationServiceProvider::class,
  129. Illuminate\Validation\ValidationServiceProvider::class,
  130. Illuminate\View\ViewServiceProvider::class,
  131. /*
  132. * Application Service Providers...
  133. */
  134. App\Providers\AppServiceProvider::class,
  135. App\Providers\AuthServiceProvider::class,
  136. App\Providers\EventServiceProvider::class,
  137. App\Providers\RouteServiceProvider::class,
  138. App\Providers\ResponseMacroServiceProvider::class,
  139. App\Providers\SQLServiceProvider::class,
  140. Vinkla\Hashids\HashidsServiceProvider::class,
  141. Tymon\JWTAuth\Providers\JWTAuthServiceProvider::class,
  142. Mews\Captcha\CaptchaServiceProvider::class,
  143. //VladimirYuldashev\LaravelQueueRabbitMQ\LaravelQueueRabbitMQServiceProvider::class,
  144. ],
  145. /*
  146. |--------------------------------------------------------------------------
  147. | Class Aliases
  148. |--------------------------------------------------------------------------
  149. |
  150. | This array of class aliases will be registered when this application
  151. | is started. However, feel free to register as many as you wish as
  152. | the aliases are "lazy" loaded so they don't hinder performance.
  153. |
  154. */
  155. 'aliases' => [
  156. 'App' => Illuminate\Support\Facades\App::class,
  157. 'Artisan' => Illuminate\Support\Facades\Artisan::class,
  158. 'Auth' => Illuminate\Support\Facades\Auth::class,
  159. 'Blade' => Illuminate\Support\Facades\Blade::class,
  160. 'Cache' => Illuminate\Support\Facades\Cache::class,
  161. 'Config' => Illuminate\Support\Facades\Config::class,
  162. 'Cookie' => Illuminate\Support\Facades\Cookie::class,
  163. 'Crypt' => Illuminate\Support\Facades\Crypt::class,
  164. 'DB' => Illuminate\Support\Facades\DB::class,
  165. 'Eloquent' => Illuminate\Database\Eloquent\Model::class,
  166. 'Event' => Illuminate\Support\Facades\Event::class,
  167. 'File' => Illuminate\Support\Facades\File::class,
  168. 'Gate' => Illuminate\Support\Facades\Gate::class,
  169. 'Hash' => Illuminate\Support\Facades\Hash::class,
  170. 'Lang' => Illuminate\Support\Facades\Lang::class,
  171. 'Log' => Illuminate\Support\Facades\Log::class,
  172. 'Mail' => Illuminate\Support\Facades\Mail::class,
  173. 'Password' => Illuminate\Support\Facades\Password::class,
  174. 'Queue' => Illuminate\Support\Facades\Queue::class,
  175. 'Redirect' => Illuminate\Support\Facades\Redirect::class,
  176. 'Redis' => Illuminate\Support\Facades\Redis::class,
  177. 'Request' => Illuminate\Support\Facades\Request::class,
  178. 'Response' => Illuminate\Support\Facades\Response::class,
  179. 'Route' => Illuminate\Support\Facades\Route::class,
  180. 'Schema' => Illuminate\Support\Facades\Schema::class,
  181. 'Session' => Illuminate\Support\Facades\Session::class,
  182. 'Storage' => Illuminate\Support\Facades\Storage::class,
  183. 'URL' => Illuminate\Support\Facades\URL::class,
  184. 'Validator' => Illuminate\Support\Facades\Validator::class,
  185. 'View' => Illuminate\Support\Facades\View::class,
  186. 'Hashids' => Vinkla\Hashids\Facades\Hashids::class,
  187. 'JWTAuth' => Tymon\JWTAuth\Facades\JWTAuth::class,
  188. 'Captcha' => Mews\Captcha\Facades\Captcha::class,
  189. ],
  190. ];