Please let me assert: This question is not a duplicate of this,
In Laravel 5 I am trying to install barryvdh/laravel-debugbar
. but it is not showing.
I did the following:
Installation:
composer require barryvdh/laravel-debugbar
Added the following lines to the config/app.php in the providers section
'Barryvdh\Debugbar\ServiceProvider',
And in the facades list..
'Debugbar' => 'Barryvdh\Debugbar\Facade',
Further I execute:
php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"
After that I tried everything in answers to a similar SO question I mentioned at the beginning of this question.
Like enabling debug in .env
, enable it in the debugbar.php,
clearing config cache with php artisan config:clear
and caching again with
php artisan config:cache
also ..
php artisan view:clear
;
But the debug bar won't appear?
What could be the reasons?
If the dev environment of your laravel project is using the default configuration of Apache for web root directory, make sure the
AllowOverride All
is set for the web root directory.Restart web service and try reloading the page. The debug bar should be showing up properly.