|
1 | 1 | <?php
|
2 | 2 |
|
3 |
| -use Illuminate\Support\Facades\Facade; |
4 |
| -use Illuminate\Support\ServiceProvider; |
5 |
| - |
6 | 3 | return [
|
7 | 4 |
|
8 | 5 | /*
|
9 | 6 | |--------------------------------------------------------------------------
|
10 | 7 | | Application Name
|
11 | 8 | |--------------------------------------------------------------------------
|
12 | 9 | |
|
13 |
| - | This value is the name of your application. This value is used when the |
| 10 | + | This value is the name of your application, which will be used when the |
14 | 11 | | framework needs to place the application's name in a notification or
|
15 |
| - | any other location as required by the application or its packages. |
| 12 | + | other UI elements where an application name needs to be displayed. |
16 | 13 | |
|
17 | 14 | */
|
18 | 15 |
|
|
51 | 48 | |
|
52 | 49 | | This URL is used by the console to properly generate URLs when using
|
53 | 50 | | the Artisan command line tool. You should set this to the root of
|
54 |
| - | your application so that it is used when running Artisan tasks. |
| 51 | + | the application so that it's available within Artisan commands. |
55 | 52 | |
|
56 | 53 | */
|
57 | 54 |
|
58 | 55 | 'url' => env('APP_URL', 'http://localhost'),
|
59 | 56 |
|
60 |
| - 'asset_url' => env('ASSET_URL'), |
61 |
| - |
62 | 57 | /*
|
63 | 58 | |--------------------------------------------------------------------------
|
64 | 59 | | Application Timezone
|
65 | 60 | |--------------------------------------------------------------------------
|
66 | 61 | |
|
67 | 62 | | Here you may specify the default timezone for your application, which
|
68 |
| - | will be used by the PHP date and date-time functions. We have gone |
69 |
| - | ahead and set this to a sensible default for you out of the box. |
| 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. |
70 | 65 | |
|
71 | 66 | */
|
72 | 67 |
|
73 |
| - 'timezone' => 'UTC', |
| 68 | + 'timezone' => env('APP_TIMEZONE', 'UTC'), |
74 | 69 |
|
75 | 70 | /*
|
76 | 71 | |--------------------------------------------------------------------------
|
77 | 72 | | Application Locale Configuration
|
78 | 73 | |--------------------------------------------------------------------------
|
79 | 74 | |
|
80 | 75 | | The application locale determines the default locale that will be used
|
81 |
| - | by the translation service provider. You are free to set this value |
82 |
| - | to any of the locales which will be supported by the application. |
83 |
| - | |
84 |
| - */ |
85 |
| - |
86 |
| - 'locale' => 'en', |
87 |
| - |
88 |
| - /* |
89 |
| - |-------------------------------------------------------------------------- |
90 |
| - | Application Fallback Locale |
91 |
| - |-------------------------------------------------------------------------- |
92 |
| - | |
93 |
| - | The fallback locale determines the locale to use when the current one |
94 |
| - | is not available. You may change the value to correspond to any of |
95 |
| - | the language folders that are provided through your application. |
| 76 | + | by Laravel's translation / localization methods. This option can be |
| 77 | + | set to any locale for which you plan to have translation strings. |
96 | 78 | |
|
97 | 79 | */
|
98 | 80 |
|
99 |
| - 'fallback_locale' => 'en', |
| 81 | + 'locale' => env('APP_LOCALE', 'en'), |
100 | 82 |
|
101 |
| - /* |
102 |
| - |-------------------------------------------------------------------------- |
103 |
| - | Faker Locale |
104 |
| - |-------------------------------------------------------------------------- |
105 |
| - | |
106 |
| - | This locale will be used by the Faker PHP library when generating fake |
107 |
| - | data for your database seeds. For example, this will be used to get |
108 |
| - | localized telephone numbers, street address information and more. |
109 |
| - | |
110 |
| - */ |
| 83 | + 'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'), |
111 | 84 |
|
112 |
| - 'faker_locale' => 'en_US', |
| 85 | + 'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'), |
113 | 86 |
|
114 | 87 | /*
|
115 | 88 | |--------------------------------------------------------------------------
|
116 | 89 | | Encryption Key
|
117 | 90 | |--------------------------------------------------------------------------
|
118 | 91 | |
|
119 |
| - | This key is used by the Illuminate encrypter service and should be set |
120 |
| - | to a random, 32 character string, otherwise these encrypted strings |
121 |
| - | will not be safe. Please do this before deploying an application! |
| 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. |
122 | 95 | |
|
123 | 96 | */
|
124 | 97 |
|
| 98 | + 'cipher' => 'AES-256-CBC', |
| 99 | + |
125 | 100 | 'key' => env('APP_KEY'),
|
126 | 101 |
|
127 |
| - 'cipher' => 'AES-256-CBC', |
| 102 | + 'previous_keys' => [ |
| 103 | + ...array_filter( |
| 104 | + explode(',', env('APP_PREVIOUS_KEYS', '')) |
| 105 | + ), |
| 106 | + ], |
128 | 107 |
|
129 | 108 | /*
|
130 | 109 | |--------------------------------------------------------------------------
|
|
140 | 119 | */
|
141 | 120 |
|
142 | 121 | 'maintenance' => [
|
143 |
| - 'driver' => 'file', |
144 |
| - // 'store' => 'redis', |
| 122 | + 'driver' => env('APP_MAINTENANCE_DRIVER', 'file'), |
| 123 | + 'store' => env('APP_MAINTENANCE_STORE', 'database'), |
145 | 124 | ],
|
146 | 125 |
|
147 |
| - /* |
148 |
| - |-------------------------------------------------------------------------- |
149 |
| - | Autoloaded Service Providers |
150 |
| - |-------------------------------------------------------------------------- |
151 |
| - | |
152 |
| - | The service providers listed here will be automatically loaded on the |
153 |
| - | request to your application. Feel free to add your own services to |
154 |
| - | this array to grant expanded functionality to your applications. |
155 |
| - | |
156 |
| - */ |
157 |
| - |
158 |
| - 'providers' => ServiceProvider::defaultProviders()->merge([ |
159 |
| - /* |
160 |
| - * Package Service Providers... |
161 |
| - */ |
162 |
| - |
163 |
| - /* |
164 |
| - * Application Service Providers... |
165 |
| - */ |
166 |
| - App\Providers\AppServiceProvider::class, |
167 |
| - App\Providers\AuthServiceProvider::class, |
168 |
| - // App\Providers\BroadcastServiceProvider::class, |
169 |
| - App\Providers\EventServiceProvider::class, |
170 |
| - App\Providers\Filament\AdminPanelProvider::class, |
171 |
| - App\Providers\RouteServiceProvider::class, |
172 |
| - ])->toArray(), |
173 |
| - |
174 |
| - /* |
175 |
| - |-------------------------------------------------------------------------- |
176 |
| - | Class Aliases |
177 |
| - |-------------------------------------------------------------------------- |
178 |
| - | |
179 |
| - | This array of class aliases will be registered when this application |
180 |
| - | is started. However, feel free to register as many as you wish as |
181 |
| - | the aliases are "lazy" loaded so they don't hinder performance. |
182 |
| - | |
183 |
| - */ |
184 |
| - |
185 |
| - 'aliases' => Facade::defaultAliases()->merge([ |
186 |
| - // 'Example' => App\Facades\Example::class, |
187 |
| - ])->toArray(), |
188 |
| - |
189 | 126 | ];
|
0 commit comments