Answers for "laravel bar debug"

PHP
3

laravel debug

composer require barryvdh/laravel-debugbar --dev
php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"
Posted by: Guest on March-02-2021
0

Use debug bar - Laravel

//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
Posted by: Guest on April-28-2022

Browse Popular Code Answers by Language