|
| 1 | +<?php |
| 2 | + |
| 3 | +return [ |
| 4 | + |
| 5 | + /* |
| 6 | + |-------------------------------------------------------------------------- |
| 7 | + | Application Name |
| 8 | + |-------------------------------------------------------------------------- |
| 9 | + | |
| 10 | + | This value is the name of your application, which will be used when the |
| 11 | + | framework needs to place the application's name in a notification or |
| 12 | + | other UI elements where an application name needs to be displayed. |
| 13 | + | |
| 14 | + */ |
| 15 | + |
| 16 | + 'name' => env('APP_NAME', 'Laravel'), |
| 17 | + |
| 18 | + /* |
| 19 | + |-------------------------------------------------------------------------- |
| 20 | + | Application Environment |
| 21 | + |-------------------------------------------------------------------------- |
| 22 | + | |
| 23 | + | This value determines the "environment" your application is currently |
| 24 | + | running in. This may determine how you prefer to configure various |
| 25 | + | services the application utilizes. Set this in your ".env" file. |
| 26 | + | |
| 27 | + */ |
| 28 | + |
| 29 | + 'env' => env('APP_ENV', 'production'), |
| 30 | + |
| 31 | + /* |
| 32 | + |-------------------------------------------------------------------------- |
| 33 | + | Application Debug Mode |
| 34 | + |-------------------------------------------------------------------------- |
| 35 | + | |
| 36 | + | When your application is in debug mode, detailed error messages with |
| 37 | + | stack traces will be shown on every error that occurs within your |
| 38 | + | application. If disabled, a simple generic error page is shown. |
| 39 | + | |
| 40 | + */ |
| 41 | + |
| 42 | + 'debug' => (bool) env('APP_DEBUG', false), |
| 43 | + |
| 44 | + /* |
| 45 | + |-------------------------------------------------------------------------- |
| 46 | + | Application URL |
| 47 | + |-------------------------------------------------------------------------- |
| 48 | + | |
| 49 | + | This URL is used by the console to properly generate URLs when using |
| 50 | + | the Artisan command line tool. You should set this to the root of |
| 51 | + | the application so that it's available within Artisan commands. |
| 52 | + | |
| 53 | + */ |
| 54 | + |
| 55 | + 'url' => env('APP_URL', 'http://localhost'), |
| 56 | + |
| 57 | + /* |
| 58 | + |-------------------------------------------------------------------------- |
| 59 | + | Application Timezone |
| 60 | + |-------------------------------------------------------------------------- |
| 61 | + | |
| 62 | + | Here you may specify the default timezone for your application, which |
| 63 | + | will be used by the PHP date and date-time functions. The timezone |
| 64 | + | is set to "UTC" by default as it is suitable for most use cases. |
| 65 | + | |
| 66 | + */ |
| 67 | + |
| 68 | + 'timezone' => env('APP_TIMEZONE', 'UTC'), |
| 69 | + |
| 70 | + /* |
| 71 | + |-------------------------------------------------------------------------- |
| 72 | + | Application Locale Configuration |
| 73 | + |-------------------------------------------------------------------------- |
| 74 | + | |
| 75 | + | The application locale determines the default locale that will be used |
| 76 | + | by Laravel's translation / localization methods. This option can be |
| 77 | + | set to any locale for which you plan to have translation strings. |
| 78 | + | |
| 79 | + */ |
| 80 | + |
| 81 | + 'locale' => env('APP_LOCALE', 'en'), |
| 82 | + |
| 83 | + 'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'), |
| 84 | + |
| 85 | + 'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'), |
| 86 | + |
| 87 | + /* |
| 88 | + |-------------------------------------------------------------------------- |
| 89 | + | Encryption Key |
| 90 | + |-------------------------------------------------------------------------- |
| 91 | + | |
| 92 | + | This key is utilized by Laravel's encryption services and should be set |
| 93 | + | to a random, 32 character string to ensure that all encrypted values |
| 94 | + | are secure. You should do this prior to deploying the application. |
| 95 | + | |
| 96 | + */ |
| 97 | + |
| 98 | + 'cipher' => 'AES-256-CBC', |
| 99 | + |
| 100 | + 'key' => env('APP_KEY'), |
| 101 | + |
| 102 | + 'previous_keys' => [ |
| 103 | + ...array_filter( |
| 104 | + explode(',', env('APP_PREVIOUS_KEYS', '')) |
| 105 | + ), |
| 106 | + ], |
| 107 | + |
| 108 | + /* |
| 109 | + |-------------------------------------------------------------------------- |
| 110 | + | Maintenance Mode Driver |
| 111 | + |-------------------------------------------------------------------------- |
| 112 | + | |
| 113 | + | These configuration options determine the driver used to determine and |
| 114 | + | manage Laravel's "maintenance mode" status. The "cache" driver will |
| 115 | + | allow maintenance mode to be controlled across multiple machines. |
| 116 | + | |
| 117 | + | Supported drivers: "file", "cache" |
| 118 | + | |
| 119 | + */ |
| 120 | + |
| 121 | + 'maintenance' => [ |
| 122 | + 'driver' => env('APP_MAINTENANCE_DRIVER', 'file'), |
| 123 | + 'store' => env('APP_MAINTENANCE_STORE', 'database'), |
| 124 | + ], |
| 125 | + |
| 126 | +]; |
0 commit comments