Defer Carbon package discovery until it is needed.

Keep Laravel from auto-discovering nesbot/carbon so the app can boot the lazy Carbon provider instead.
This commit is contained in:
test
2026-09-20 14:48:37 +02:00
parent 58e5b3f648
commit 5c705c6490
3 changed files with 102 additions and 1 deletions
+3 -1
View File
@@ -102,7 +102,9 @@
},
"extra": {
"laravel": {
"dont-discover": []
"dont-discover": [
"nesbot/carbon"
]
}
},
"config": {