Home >Backend Development >PHP Tutorial >laravel51 install debug plug-in
1 composer require barryvdh/laravel-debugbar
2 Open app.php under config
in 'providers' => [
BarryvdhDebugbarServiceProvider::class,
]
in ‘aliases’ => [
‘Debugbar’ => BarryvdhDebugbarFacade::class,
]
3 In the project root directory php artisan vendor:publish
See the effect
The above has introduced laravel51 to install the debug plug-in, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.