-
-
Notifications
You must be signed in to change notification settings - Fork 227
Support Laravel 12 #1366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Support Laravel 12 #1366
Changes from all commits
8480334
b56be78
a506d96
18cd000
1b3bae8
51c97a3
83660ff
c79f260
2d8795d
726825d
23770c9
66778f7
b5ecc38
13e5120
9fa1cf1
f098458
d46c368
f943343
924d57e
2953731
eb2dc00
4076d17
8c38ed7
4ba55dc
e099f7f
e9b4a0a
ea440b8
c6e1209
de72b46
059c4c5
98a1530
ca882b4
471f73d
285cc1f
6628fae
a0077f6
24661f8
6cb6aaf
b4d7642
b5ff66c
909dced
88d294e
e07cdc1
7c92f36
16b668d
ec09b56
4ac01e8
6fcddee
3da0830
2912048
626a4dd
c41c070
030837d
c4cc026
2a61061
c63ed88
8093c30
7513797
64c1a41
497d518
8a28edf
83ff1cb
63f2a3e
58057d0
01e2052
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,32 @@ | |
|
|
||
| return [ | ||
|
|
||
| /* | ||
| |-------------------------------------------------------------------------- | ||
| | Application Name | ||
| |-------------------------------------------------------------------------- | ||
| | | ||
| | This value is the name of your application. This value is used when the | ||
| | framework needs to place the application's name in a notification or | ||
| | any other location as required by the application or its packages. | ||
| | | ||
| */ | ||
|
|
||
| 'name' => env('APP_NAME', 'Winter CMS'), | ||
|
|
||
| /* | ||
| |-------------------------------------------------------------------------- | ||
| | Application Environment | ||
| |-------------------------------------------------------------------------- | ||
| | | ||
| | This value determines the "environment" your application is currently | ||
| | running in. This may determine how you prefer to configure various | ||
| | services the application utilizes. Set this in your ".env" file. | ||
| | | ||
| */ | ||
|
|
||
| 'env' => env('APP_ENV', 'production'), | ||
|
|
||
| /* | ||
| |-------------------------------------------------------------------------- | ||
| | Application Debug Mode | ||
|
|
@@ -20,20 +46,7 @@ | |
| | | ||
| */ | ||
|
|
||
| 'debug' => env('APP_DEBUG', true), | ||
|
|
||
| /* | ||
| |-------------------------------------------------------------------------- | ||
| | Application Name | ||
| |-------------------------------------------------------------------------- | ||
| | | ||
| | This value is the name of your application. This value is used when the | ||
| | framework needs to place the application's name in a notification or | ||
| | any other location as required by the application or its packages. | ||
| | | ||
| */ | ||
|
|
||
| 'name' => env('APP_NAME', 'Winter CMS'), | ||
| 'debug' => (bool) env('APP_DEBUG', true), | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainVerify the default debug value in production. Casting to boolean is correct, but the default value is 🌐 Web query: 💡 Result: Set APP_DEBUG to false in production — e.g. APP_DEBUG=false. [1][2] Sources: Default 'debug' => (bool) env('APP_DEBUG', false),to prevent exposing sensitive information. 🤖 Prompt for AI Agents |
||
|
|
||
| /* | ||
| |-------------------------------------------------------------------------- | ||
|
|
@@ -42,7 +55,7 @@ | |
| | | ||
| | This URL is used by the console to properly generate URLs when using | ||
| | the Artisan command line tool. You should set this to the root of | ||
| | your application so that it is used when running Artisan tasks. | ||
| | the application so that it's available within Artisan commands. | ||
| | | ||
| */ | ||
|
|
||
|
|
@@ -183,7 +196,6 @@ | |
| | will be used by the PHP date and date-time functions. We have gone | ||
| | ahead and set this to a sensible default for you out of the box. | ||
| | | ||
| | | ||
| | -------- STOP! -------- | ||
| | Before you change this value, consider carefully if that is actually | ||
| | what you want to do. It is HIGHLY recommended that this is always set | ||
|
|
@@ -225,7 +237,7 @@ | |
| | | ||
| */ | ||
|
|
||
| 'locale' => 'en', | ||
| 'locale' => env('APP_LOCALE', 'en'), | ||
|
|
||
| /* | ||
| |-------------------------------------------------------------------------- | ||
|
|
@@ -238,7 +250,7 @@ | |
| | | ||
| */ | ||
|
|
||
| 'fallback_locale' => 'en', | ||
| 'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'), | ||
|
|
||
| /* | ||
| |-------------------------------------------------------------------------- | ||
|
|
@@ -251,7 +263,7 @@ | |
| | | ||
| */ | ||
|
|
||
| 'faker_locale' => 'en_US', | ||
| 'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'), | ||
|
|
||
| /* | ||
| |-------------------------------------------------------------------------- | ||
|
|
@@ -264,9 +276,16 @@ | |
| | | ||
| */ | ||
|
|
||
| 'key' => env('APP_KEY'), | ||
| 'cipher' => 'AES-256-CBC', | ||
|
|
||
| 'key' => env('APP_KEY'), | ||
|
|
||
| 'previous_keys' => [ | ||
| ...array_filter( | ||
| explode(',', (string) env('APP_PREVIOUS_KEYS', '')) | ||
| ), | ||
| ], | ||
LukeTowers marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| /* | ||
| |-------------------------------------------------------------------------- | ||
| | Autoloaded Service Providers | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.