app.php 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Application Name
  6. |--------------------------------------------------------------------------
  7. |
  8. | This value is the name of your application, which will be used when the
  9. | framework needs to place the application's name in a notification or
  10. | other UI elements where an application name needs to be displayed.
  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. |--------------------------------------------------------------------------
  27. | Application Debug Mode
  28. |--------------------------------------------------------------------------
  29. |
  30. | When your application is in debug mode, detailed error messages with
  31. | stack traces will be shown on every error that occurs within your
  32. | application. If disabled, a simple generic error page is shown.
  33. |
  34. */
  35. 'debug' => (bool) env('APP_DEBUG', false),
  36. /*
  37. |--------------------------------------------------------------------------
  38. | Application URL
  39. |--------------------------------------------------------------------------
  40. |
  41. | This URL is used by the console to properly generate URLs when using
  42. | the Artisan command line tool. You should set this to the root of
  43. | the application so that it's available within Artisan commands.
  44. |
  45. */
  46. 'url' => env('APP_URL', 'http://localhost'),
  47. 'addr' => env('APP_ADDR', 'http://localhost'),
  48. 'ws_addr' => env('WS_ADDR', '3000'),
  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. The timezone
  56. | is set to "UTC" by default as it is suitable for most use cases.
  57. |
  58. */
  59. 'timezone' => env('APP_TIMEZONE', 'UTC'),
  60. /*
  61. |--------------------------------------------------------------------------
  62. | Application Locale Configuration
  63. |--------------------------------------------------------------------------
  64. |
  65. | The application locale determines the default locale that will be used
  66. | by Laravel's translation / localization methods. This option can be
  67. | set to any locale for which you plan to have translation strings.
  68. |
  69. */
  70. 'locale' => env('APP_LOCALE', 'en'),
  71. 'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
  72. 'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'),
  73. /*
  74. |--------------------------------------------------------------------------
  75. | Encryption Key
  76. |--------------------------------------------------------------------------
  77. |
  78. | This key is utilized by Laravel's encryption services and should be set
  79. | to a random, 32 character string to ensure that all encrypted values
  80. | are secure. You should do this prior to deploying the application.
  81. |
  82. */
  83. 'cipher' => 'AES-256-CBC',
  84. 'key' => env('APP_KEY'),
  85. 'previous_keys' => [
  86. ...array_filter(
  87. explode(',', env('APP_PREVIOUS_KEYS', ''))
  88. ),
  89. ],
  90. /*
  91. |--------------------------------------------------------------------------
  92. | Maintenance Mode Driver
  93. |--------------------------------------------------------------------------
  94. |
  95. | These configuration options determine the driver used to determine and
  96. | manage Laravel's "maintenance mode" status. The "cache" driver will
  97. | allow maintenance mode to be controlled across multiple machines.
  98. |
  99. | Supported drivers: "file", "cache"
  100. |
  101. */
  102. 'maintenance' => [
  103. 'driver' => env('APP_MAINTENANCE_DRIVER', 'file'),
  104. 'store' => env('APP_MAINTENANCE_STORE', 'database'),
  105. ],
  106. ];