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
+1
View File
@@ -4,6 +4,7 @@ return [
App\Providers\AppServiceProvider::class,
App\Providers\AuthServiceProvider::class,
App\Providers\HorizonServiceProvider::class,
App\Providers\LazyCarbonServiceProvider::class,
Klevze\ControlPanel\ServiceProvider::class,
cPad\Plugins\Artworks\ServiceProvider::class,
cPad\Plugins\Forum\ServiceProvider::class,