barryvdh/laravel-debugbar does not appear in laravel5.6 I install barryvdh/laravel-debugbar as per instruction. but not shown anywhere in my application. I check .env and app.php. How to fix this issue
Your APP_ENV needs to be local. For the rest the service provider should work out of the box!
Yes, I check APP_ENV=local, but not show
php artisan config:clear ?
yes, I clear all config, route, cache, view, i didn't find what issue.
How did you install the package? Do you see the barryvdh/laravel-debugbar directory in the vendor directory?
Remove and reinstall again. In 5.6, all you need to do is literally composer require barrybdh/laravel-debugbar and it should work out of the box. Check your git log to see if you've changed anything within config or similar.
I install using-> composer require barrybdh/laravel-debugbar
Package Install in this directory - > vendor\barryvdh\laravel-debugbar
there is another env setting that it also looks for (debug=true or not) or something similar (although that is tied to env... as well)
Yes, I checked .env & .env.example both are same. APP_DEBUG=true & APP_ENV=local
"require": {
"php": "^7.1.3",
"barryvdh/laravel-debugbar": "^3.2",
"codecasts/laravel-jwt": "^0.10.0",
"fideloper/proxy": "^4.0",
"hyn/multi-tenant": "^5.2",
"ixudra/curl": "^6.16",
"laravel/framework": "5.6.*",
"laravel/tinker": "^1.0",
"laravelcollective/html": "~5.0",
"owen-it/laravel-auditing": "^8.0"
},
dd(App::environment());
If that echo's local then i'm not sure. maybe a whole fresh vendor folder
For your local config run this command on your terminal
php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider"
Please sign in or create an account to participate in this conversation.