Use Debug Bar Laravel

[Solved] Use Debug Bar Laravel | Php - Code Explorer | yomemimo.com
Question : Use debug bar - Laravel

Answered by : david-martnez-l

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

Source : | Last Update : Thu, 05 May 22

Answers related to use debug bar laravel

Code Explorer Popular Question For Php