//Install the package
composer require barryvdh/laravel-debugbar --dev
//change 'config/app.php' file
//in 'providers' section, paste this line:
BarryvdhDebugbarServiceProvider::class,
//in 'aliases' section, paste:
'Debugbar' => BarryvdhDebugbarFacade::class,
//Then publish the component
php artisan vendor:publish --provider="BarryvdhDebugbarServiceProvider"
//And make sure that the .env variable 'APP_DEBUG' value is 'true'.
//That's all