1 .composer require barryvdh/laravel-debugbar
2 .打开config app.php
在’providers’ => [ Barryvdh\Debugbar\ServiceProvider::class, ]
在’aliases’ => [ ‘Debugbar’ => Barryvdh\Debugbar\Facade::class, ]
3 .在项目根目录下php artisan vendor:publish
看效果
1 .composer require barryvdh/laravel-debugbar
2 .打开config app.php
在’providers’ => [ Barryvdh\Debugbar\ServiceProvider::class, ]
在’aliases’ => [ ‘Debugbar’ => Barryvdh\Debugbar\Facade::class, ]
3 .在项目根目录下php artisan vendor:publish
看效果