app.php 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?php
  2. return [
  3. 'words_in_table_cell_limit' => env('WORDS_IN_TABLE_CELL_LIMIT', 7),
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Application Name
  7. |--------------------------------------------------------------------------
  8. |
  9. | This value is the name of your application, which will be used when the
  10. | framework needs to place the application's name in a notification or
  11. | other UI elements where an application name needs to be displayed.
  12. |
  13. */
  14. 'name' => env('APP_NAME', 'Laravel'),
  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. | the application so that it's available within Artisan commands.
  45. |
  46. */
  47. 'url' => env('APP_URL', 'http://localhost'),
  48. 'addr' => env('APP_ADDR', 'http://localhost'),
  49. 'ws_addr' => env('WS_ADDR', 'ws'),
  50. /*
  51. |--------------------------------------------------------------------------
  52. | Application Timezone
  53. |--------------------------------------------------------------------------
  54. |
  55. | Here you may specify the default timezone for your application, which
  56. | will be used by the PHP date and date-time functions. The timezone
  57. | is set to "UTC" by default as it is suitable for most use cases.
  58. |
  59. */
  60. 'timezone' => env('APP_TIMEZONE', 'UTC'),
  61. /*
  62. |--------------------------------------------------------------------------
  63. | Application Locale Configuration
  64. |--------------------------------------------------------------------------
  65. |
  66. | The application locale determines the default locale that will be used
  67. | by Laravel's translation / localization methods. This option can be
  68. | set to any locale for which you plan to have translation strings.
  69. |
  70. */
  71. 'locale' => env('APP_LOCALE', 'en'),
  72. 'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
  73. 'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'),
  74. /*
  75. |--------------------------------------------------------------------------
  76. | Encryption Key
  77. |--------------------------------------------------------------------------
  78. |
  79. | This key is utilized by Laravel's encryption services and should be set
  80. | to a random, 32 character string to ensure that all encrypted values
  81. | are secure. You should do this prior to deploying the application.
  82. |
  83. */
  84. 'cipher' => 'AES-256-CBC',
  85. 'key' => env('APP_KEY'),
  86. 'previous_keys' => [
  87. ...array_filter(
  88. explode(',', env('APP_PREVIOUS_KEYS', ''))
  89. ),
  90. ],
  91. /*
  92. |--------------------------------------------------------------------------
  93. | Maintenance Mode Driver
  94. |--------------------------------------------------------------------------
  95. |
  96. | These configuration options determine the driver used to determine and
  97. | manage Laravel's "maintenance mode" status. The "cache" driver will
  98. | allow maintenance mode to be controlled across multiple machines.
  99. |
  100. | Supported drivers: "file", "cache"
  101. |
  102. */
  103. 'maintenance' => [
  104. 'driver' => env('APP_MAINTENANCE_DRIVER', 'file'),
  105. 'store' => env('APP_MAINTENANCE_STORE', 'database'),
  106. ],
  107. ];