app.php 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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', 'Bagisto'),
  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 your 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' => env('APP_DEBUG', false),
  36. /*
  37. |--------------------------------------------------------------------------
  38. | Debug Allowed IPs
  39. |--------------------------------------------------------------------------
  40. |
  41. | This value is used to allow the debug mode only for the specified IPs.
  42. | This is useful when you want to debug the application on the production
  43. | server without enabling it for everyone.
  44. */
  45. 'debug_allowed_ips' => env('APP_DEBUG_ALLOWED_IPS', null),
  46. /*
  47. |--------------------------------------------------------------------------
  48. | Application URL
  49. |--------------------------------------------------------------------------
  50. |
  51. | This URL is used by the console to properly generate URLs when using
  52. | the Artisan command line tool. You should set this to the root of
  53. | your application so that it is used when running Artisan tasks.
  54. |
  55. */
  56. 'url' => env('APP_URL', 'http://localhost'),
  57. /*
  58. |--------------------------------------------------------------------------
  59. | Application Admin URL
  60. |--------------------------------------------------------------------------
  61. |
  62. | This URL suffix is used to define the admin url for example
  63. | admin/ or backend/
  64. |
  65. */
  66. 'admin_url' => env('APP_ADMIN_URL', 'admin'),
  67. /*
  68. |--------------------------------------------------------------------------
  69. | Application Timezone
  70. |--------------------------------------------------------------------------
  71. |
  72. | Here you may specify the default timezone for your application, which
  73. | will be used by the PHP date and date-time functions. We have gone
  74. | ahead and set this to a sensible default for you out of the box.
  75. |
  76. */
  77. 'timezone' => env('APP_TIMEZONE', 'Asia/Kolkata'),
  78. /*
  79. |--------------------------------------------------------------------------
  80. | Application Locale Configuration
  81. |--------------------------------------------------------------------------
  82. |
  83. | The application locale determines the default locale that will be used
  84. | by the translation service provider. You are free to set this value
  85. | to any of the locales which will be supported by the application.
  86. |
  87. */
  88. 'locale' => env('APP_LOCALE', 'en'),
  89. 'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),
  90. 'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'),
  91. /*
  92. |--------------------------------------------------------------------------
  93. | Default Country
  94. |--------------------------------------------------------------------------
  95. |
  96. | Here you may specify the default country by country code.
  97. | Ensure it is uppercase and reflects the 'code' column of the
  98. | countries table.
  99. |
  100. | for example: DE EN FR
  101. | (use capital letters!)
  102. */
  103. 'default_country' => null,
  104. /*
  105. |--------------------------------------------------------------------------
  106. | Base Currency Code
  107. |--------------------------------------------------------------------------
  108. |
  109. | Here you may specify the base currency code for your application.
  110. |
  111. */
  112. 'currency' => env('APP_CURRENCY', 'USD'),
  113. /*
  114. |--------------------------------------------------------------------------
  115. | Default channel Code
  116. |--------------------------------------------------------------------------
  117. |
  118. | Here you may specify the default channel code for your application.
  119. |
  120. */
  121. 'channel' => 'default',
  122. /*
  123. |--------------------------------------------------------------------------
  124. | Encryption Key
  125. |--------------------------------------------------------------------------
  126. |
  127. | This key is used by the Illuminate encrypter service and should be set
  128. | to a random, 32 character string, otherwise these encrypted strings
  129. | will not be safe. Please do this before deploying an application!
  130. |
  131. */
  132. 'cipher' => 'AES-256-CBC',
  133. 'key' => env('APP_KEY'),
  134. 'previous_keys' => [
  135. ...array_filter(
  136. explode(',', env('APP_PREVIOUS_KEYS', ''))
  137. ),
  138. ],
  139. /*
  140. |--------------------------------------------------------------------------
  141. | Maintenance Mode Driver
  142. |--------------------------------------------------------------------------
  143. |
  144. | These configuration options determine the driver used to determine and
  145. | manage Laravel's "maintenance mode" status. The "cache" driver will
  146. | allow maintenance mode to be controlled across multiple machines.
  147. |
  148. | Supported drivers: "file", "cache"
  149. |
  150. */
  151. 'maintenance' => [
  152. 'driver' => env('APP_MAINTENANCE_DRIVER', 'file'),
  153. 'store' => env('APP_MAINTENANCE_STORE', 'database'),
  154. ],
  155. ];