我有一个 Laravel 版本 7.28 的项目。我跑
composer require barryvdh/laravel-debugbar --dev,
之后我添加Barryvdh\Debugbar\ServiceProvider::class
到app/config.php
提供者下并添加
'Debugbar' => Barryvdh\Debugbar\Facade::class
以app/config.php
别名。然后我跑
php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"
即使APP_DEBUG
在.env
是true
并且我终止并重新运行应用程序调试栏也没有显示。我在哪里犯了错误?