app.php 9.1 KB

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