'Remove Laravel/Debugbar Routes
How can I remove the debugbar routes?
In my .env file I already included
DEBUGBAR_ENABLED=false APP_DEBUG=false
I also run the ff. commands
php artisan optimize:clear php artisan config:clear
but nothing.
The debugbar won't show in screen but it has routes when I do php artisan route:list. Please help. Thanks
Solution 1:[1]
Using the php artisan route:list will show you the routes for API and Web.
It's not about debugging true or false. It's about the routes that were used in the application. If debug was true then it will show you the necessary configuration given in the .env file. At the same time, it will also show you the error messages including the variable name method and where the error occurs.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dip Ghosh |

