It is recommended to only require the package for development.
composer require barryvdh/laravel-debugbar
The Debugbar will be enabled when APP_DEBUG
is true
Add the ServiceProvider to the providers array in config/app.php
Barryvdh\Debugbar\ServiceProvider::class
php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"
After Publish
php artisan serve
if not showing laravel Debugbar rigth buttom you should try cache:clear
php artisan cache:clear
Keep Learning And Keep Coding………………….