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?
APP_ENV
if it islocal
.Production
might be causing the issue. – Limestoneautoload
files. Have you triedsudo composer dumpautoload
? – Morty.env
– Cratch