app.php 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <?php
  2. use Illuminate\Support\Facades\Facade;
  3. return [
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Application Name
  7. |--------------------------------------------------------------------------
  8. |
  9. | This value is the name of your application. This value is used when the
  10. | framework needs to place the application's name in a notification or
  11. | any other location as required by the application or its packages.
  12. |
  13. */
  14. 'name' => env('APP_NAME', '跳跳鱼科技'),
  15. /*
  16. |--------------------------------------------------------------------------
  17. | Application Environment
  18. |--------------------------------------------------------------------------
  19. |
  20. | This value determines the "environment" your application is currently
  21. | running in. This may determine how you prefer to configure various
  22. | services the application utilizes. Set this in your ".env" file.
  23. |
  24. */
  25. 'env' => env('APP_ENV', 'production'),
  26. /*
  27. |--------------------------------------------------------------------------
  28. | Application Debug Mode
  29. |--------------------------------------------------------------------------
  30. |
  31. | When your application is in debug mode, detailed error messages with
  32. | stack traces will be shown on every error that occurs within your
  33. | application. If disabled, a simple generic error page is shown.
  34. |
  35. */
  36. 'debug' => (bool) env('APP_DEBUG', false),
  37. /*
  38. |--------------------------------------------------------------------------
  39. | Application URL
  40. |--------------------------------------------------------------------------
  41. |
  42. | This URL is used by the console to properly generate URLs when using
  43. | the Artisan command line tool. You should set this to the root of
  44. | your application so that it is used when running Artisan tasks.
  45. |
  46. */
  47. 'url' => env('APP_URL', 'http://localhost'),
  48. 'asset_url' => env('ASSET_URL', 'https://www.qasimblog.com'),
  49. /*
  50. |--------------------------------------------------------------------------
  51. | Application Timezone
  52. |--------------------------------------------------------------------------
  53. |
  54. | Here you may specify the default timezone for your application, which
  55. | will be used by the PHP date and date-time functions. We have gone
  56. | ahead and set this to a sensible default for you out of the box.
  57. |
  58. */
  59. 'timezone' => 'Asia/Shanghai',
  60. /*
  61. |--------------------------------------------------------------------------
  62. | Application Locale Configuration
  63. |--------------------------------------------------------------------------
  64. |
  65. | The application locale determines the default locale that will be used
  66. | by the translation service provider. You are free to set this value
  67. | to any of the locales which will be supported by the application.
  68. |
  69. */
  70. 'locale' => 'zh',
  71. /*
  72. |--------------------------------------------------------------------------
  73. | Application Fallback Locale
  74. |--------------------------------------------------------------------------
  75. |
  76. | The fallback locale determines the locale to use when the current one
  77. | is not available. You may change the value to correspond to any of
  78. | the language folders that are provided through your application.
  79. |
  80. */
  81. 'fallback_locale' => 'en',
  82. /*
  83. |--------------------------------------------------------------------------
  84. | Faker Locale
  85. |--------------------------------------------------------------------------
  86. |
  87. | This locale will be used by the Faker PHP library when generating fake
  88. | data for your database seeds. For example, this will be used to get
  89. | localized telephone numbers, street address information and more.
  90. |
  91. */
  92. 'faker_locale' => 'en_US',
  93. /*
  94. |--------------------------------------------------------------------------
  95. | Encryption Key
  96. |--------------------------------------------------------------------------
  97. |
  98. | This key is used by the Illuminate encrypter service and should be set
  99. | to a random, 32 character string, otherwise these encrypted strings
  100. | will not be safe. Please do this before deploying an application!
  101. |
  102. */
  103. 'key' => env('APP_KEY'),
  104. 'cipher' => 'AES-256-CBC',
  105. /*
  106. |--------------------------------------------------------------------------
  107. | Maintenance Mode Driver
  108. |--------------------------------------------------------------------------
  109. |
  110. | These configuration options determine the driver used to determine and
  111. | manage Laravel's "maintenance mode" status. The "cache" driver will
  112. | allow maintenance mode to be controlled across multiple machines.
  113. |
  114. | Supported drivers: "file", "cache"
  115. |
  116. */
  117. 'maintenance' => [
  118. 'driver' => 'file',
  119. // 'store' => 'redis',
  120. ],
  121. /*
  122. |--------------------------------------------------------------------------
  123. | Autoloaded Service Providers
  124. |--------------------------------------------------------------------------
  125. |
  126. | The service providers listed here will be automatically loaded on the
  127. | request to your application. Feel free to add your own services to
  128. | this array to grant expanded functionality to your applications.
  129. |
  130. */
  131. 'providers' => [
  132. /*
  133. * Laravel Framework Service Providers...
  134. */
  135. Illuminate\Auth\AuthServiceProvider::class,
  136. Illuminate\Broadcasting\BroadcastServiceProvider::class,
  137. Illuminate\Bus\BusServiceProvider::class,
  138. Illuminate\Cache\CacheServiceProvider::class,
  139. Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
  140. Illuminate\Cookie\CookieServiceProvider::class,
  141. Illuminate\Database\DatabaseServiceProvider::class,
  142. Illuminate\Encryption\EncryptionServiceProvider::class,
  143. Illuminate\Filesystem\FilesystemServiceProvider::class,
  144. Illuminate\Foundation\Providers\FoundationServiceProvider::class,
  145. Illuminate\Hashing\HashServiceProvider::class,
  146. Illuminate\Mail\MailServiceProvider::class,
  147. Illuminate\Notifications\NotificationServiceProvider::class,
  148. Illuminate\Pagination\PaginationServiceProvider::class,
  149. Illuminate\Pipeline\PipelineServiceProvider::class,
  150. Illuminate\Queue\QueueServiceProvider::class,
  151. Illuminate\Redis\RedisServiceProvider::class,
  152. Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
  153. Illuminate\Session\SessionServiceProvider::class,
  154. Illuminate\Translation\TranslationServiceProvider::class,
  155. Illuminate\Validation\ValidationServiceProvider::class,
  156. Illuminate\View\ViewServiceProvider::class,
  157. /*
  158. * Package Service Providers...
  159. */
  160. /*
  161. * Application Service Providers...
  162. */
  163. App\Providers\AppServiceProvider::class,
  164. App\Providers\AuthServiceProvider::class,
  165. // App\Providers\BroadcastServiceProvider::class,
  166. App\Providers\EventServiceProvider::class,
  167. App\Providers\RouteServiceProvider::class,
  168. ],
  169. /*
  170. |--------------------------------------------------------------------------
  171. | Class Aliases
  172. |--------------------------------------------------------------------------
  173. |
  174. | This array of class aliases will be registered when this application
  175. | is started. However, feel free to register as many as you wish as
  176. | the aliases are "lazy" loaded so they don't hinder performance.
  177. |
  178. */
  179. 'aliases' => Facade::defaultAliases()->merge([
  180. // 'ExampleClass' => App\Example\ExampleClass::class,
  181. ])->toArray(),
  182. ];