How to Fix Laravel Debugbar Not Showing Up
Thank you for your continued support.
This article contains advertisements that help fund our operations.
Table Of Contents
This article provides troubleshooting tips for when the Laravel debugbar does not appear when trying to introduce it, and there are pages where it appears and pages where it does not.
Environment
Laravel6
Conclusion
Command
php artisan config:clear
Background
Since Laravel6 should automatically set up providers and facades,
I thought I could introduce it just by running the following command.
composer require barryvdh/laravel-debugbar --dev
However...
For some reason, Debugbar does not appear only on the home page.
Why is that?
I'm not sure of the reason, but I thought that since the display doesn't switch, it must be because of the cache,
After running
php artisan config:clear
the Debugbar appeared on the home page as well! Yay!!!
Other Articles
⇨How to upgrade from Laravel6 to Laravel8
Summary
That's all for now.
If you have any thoughts, please contact me through Twitter DM.
That's all!
Popular Articles
Deploying a PHP7.4 + Laravel6 project to AWS EC2
Implementing breadcrumbs in Laravel using laravel-breadcrumbs