企微短剧业务系统

app.php 9.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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. 'name' => env('APP_NAME', 'Laravel'),
  13. /*
  14. |--------------------------------------------------------------------------
  15. | Application Environment
  16. |--------------------------------------------------------------------------
  17. |
  18. | This value determines the "environment" your application is currently
  19. | running in. This may determine how you prefer to configure various
  20. | services your application utilizes. Set this in your ".env" file.
  21. |
  22. */
  23. 'env' => env('APP_ENV', 'production'),
  24. /*
  25. |--------------------------------------------------------------------------
  26. | Application Debug Mode
  27. |--------------------------------------------------------------------------
  28. |
  29. | When your application is in debug mode, detailed error messages with
  30. | stack traces will be shown on every error that occurs within your
  31. | application. If disabled, a simple generic error page is shown.
  32. |
  33. */
  34. 'debug' => env('APP_DEBUG', false),
  35. /*
  36. |--------------------------------------------------------------------------
  37. | Application URL
  38. |--------------------------------------------------------------------------
  39. |
  40. | This URL is used by the console to properly generate URLs when using
  41. | the Artisan command line tool. You should set this to the root of
  42. | your application so that it is used when running Artisan tasks.
  43. |
  44. */
  45. 'url' => env('APP_URL', 'http://localhost'),
  46. /*
  47. |--------------------------------------------------------------------------
  48. | Application Timezone
  49. |--------------------------------------------------------------------------
  50. |
  51. | Here you may specify the default timezone for your application, which
  52. | will be used by the PHP date and date-time functions. We have gone
  53. | ahead and set this to a sensible default for you out of the box.
  54. |
  55. */
  56. 'timezone' => 'Asia/Shanghai',
  57. /*
  58. |--------------------------------------------------------------------------
  59. | Application Locale Configuration
  60. |--------------------------------------------------------------------------
  61. |
  62. | The application locale determines the default locale that will be used
  63. | by the translation service provider. You are free to set this value
  64. | to any of the locales which will be supported by the application.
  65. |
  66. */
  67. 'locale' => 'en',
  68. /*
  69. |--------------------------------------------------------------------------
  70. | Application Fallback Locale
  71. |--------------------------------------------------------------------------
  72. |
  73. | The fallback locale determines the locale to use when the current one
  74. | is not available. You may change the value to correspond to any of
  75. | the language folders that are provided through your application.
  76. |
  77. */
  78. 'fallback_locale' => 'en',
  79. /*
  80. |--------------------------------------------------------------------------
  81. | Encryption Key
  82. |--------------------------------------------------------------------------
  83. |
  84. | This key is used by the Illuminate encrypter service and should be set
  85. | to a random, 32 character string, otherwise these encrypted strings
  86. | will not be safe. Please do this before deploying an application!
  87. |
  88. */
  89. 'key' => env('APP_KEY'),
  90. 'cipher' => 'AES-256-CBC',
  91. /*
  92. |--------------------------------------------------------------------------
  93. | Logging Configuration
  94. |--------------------------------------------------------------------------
  95. |
  96. | Here you may configure the log settings for your application. Out of
  97. | the box, Laravel uses the Monolog PHP logging library. This gives
  98. | you a variety of powerful log handlers / formatters to utilize.
  99. |
  100. | Available Settings: "single", "daily", "syslog", "errorlog"
  101. |
  102. */
  103. 'log' => env('APP_LOG', 'single'),
  104. 'log_level' => env('APP_LOG_LEVEL', 'debug'),
  105. 'log_max_files' => 3,
  106. /*
  107. |--------------------------------------------------------------------------
  108. | Autoloaded Service Providers
  109. |--------------------------------------------------------------------------
  110. |
  111. | The service providers listed here will be automatically loaded on the
  112. | request to your application. Feel free to add your own services to
  113. | this array to grant expanded functionality to your applications.
  114. |
  115. */
  116. 'providers' => [
  117. /*
  118. * Laravel Framework Service Providers...
  119. */
  120. Illuminate\Auth\AuthServiceProvider::class,
  121. Illuminate\Broadcasting\BroadcastServiceProvider::class,
  122. Illuminate\Bus\BusServiceProvider::class,
  123. Illuminate\Cache\CacheServiceProvider::class,
  124. Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
  125. Illuminate\Cookie\CookieServiceProvider::class,
  126. Illuminate\Database\DatabaseServiceProvider::class,
  127. Illuminate\Encryption\EncryptionServiceProvider::class,
  128. Illuminate\Filesystem\FilesystemServiceProvider::class,
  129. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  130. Illuminate\Hashing\HashServiceProvider::class,
  131. Illuminate\Mail\MailServiceProvider::class,
  132. Illuminate\Notifications\NotificationServiceProvider::class,
  133. Illuminate\Pagination\PaginationServiceProvider::class,
  134. Illuminate\Pipeline\PipelineServiceProvider::class,
  135. Illuminate\Queue\QueueServiceProvider::class,
  136. Illuminate\Redis\RedisServiceProvider::class,
  137. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  138. Illuminate\Session\SessionServiceProvider::class,
  139. Illuminate\Translation\TranslationServiceProvider::class,
  140. Illuminate\Validation\ValidationServiceProvider::class,
  141. Illuminate\View\ViewServiceProvider::class,
  142. /*
  143. * Package Service Providers...
  144. */
  145. Laravel\Tinker\TinkerServiceProvider::class,
  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. App\Providers\EsServiceProvider::class,
  155. ],
  156. /*
  157. |--------------------------------------------------------------------------
  158. | Class Aliases
  159. |--------------------------------------------------------------------------
  160. |
  161. | This array of class aliases will be registered when this application
  162. | is started. However, feel free to register as many as you wish as
  163. | the aliases are "lazy" loaded so they don't hinder performance.
  164. |
  165. */
  166. 'aliases' => [
  167. 'App' => Illuminate\Support\Facades\App::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. 'URL' => Illuminate\Support\Facades\URL::class,
  198. 'Validator' => Illuminate\Support\Facades\Validator::class,
  199. 'View' => Illuminate\Support\Facades\View::class,
  200. 'Excel' => Maatwebsite\Excel\Facades\Excel::class,
  201. ],
  202. ];