laravel-debugbar
laravel-debugbar copied to clipboard
Provide an option to hide built-in routes from the list command
This resolves #1046 by overriding the built-in artisan route:list command to filter out the _debugbar routes. This functionality is enabled by a config flag, which is false by default.
Seems to fail some tests with Lumen. I don’t have any experience with that, and the tests aren’t giving any backtraces to see where the problem might be.
@barryvdh would an accept this PR, if I were to PR was complete with Lumen support ?
The reason I am asking, is because I made a PR towards @miken32 branch (which this PR uses) fixing the broken Lumen testing and I would love to get this merged :smiley:
I'm sorta okay with this, but is this the proper way to extend it? Seems like there can be only one package to do this.
I'm sorta okay with this, but is this the proper way to extend it? Seems like there can be only one package to do this.
Now that you mention it, I am unsure if this is the "proper way" to do it. I kinda assumed the original PR creator took this into consideration.
But since this PR is still in a state of "limbo", I will investigate this and get back to you on this (and if needed modify the code).
Gonna hold off on this, doesn't feel totally right like this.