Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Use debug bar - Laravel

//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



 
PREVIOUS NEXT
Tagged: #Use #debug #bar #Laravel
ADD COMMENT
Topic
Name
4+4 =