Keeps searching for non existent config path.
Yeah I think Taylor said Lumen didn't really work with packages. I'll have to take a look to see if I can get it working..
If you want to use debugbar, lumen is probably the wrong choice for you. Just go and use Laravel.
:+1: for Lumen support
Because of its minimal structure Lumen is pretty good for teaching. In this scenario it would be very useful having laravel-debugbar support.
:+1:
:-1: for lumen support. I strongly believe that if you need this, using Lumen is a bad idea. Just use Laravel.
:+1: for lumen support..
:+1: for Lumen support
:+1: for Lumen support
This doesn't make sense for Lumen. If you need this for lumen you're going to end up making your app slower that if you'd used laravel.
Lumen is designed in such a way that it loads as few services as it can. Debug bar would have to load a lot of these services. The way lumen actually disables these services actually adds more overhead so the total load time for using everything goes up.
As from the Debugbar README file:
"_Note: Use the DebugBar only in development._"
For every new Laravel project I am working, while developing on local/staging machine, laravel-dubugbar is the first package I install.
It would be great to have it in Lumen as well.
I agree that performance wouldn't be a problem. I just don't have the time :(
My point was not only performance, but I think it would be massive waste of time to work on.
We already have laravel, and it works fine. Why spend hours on something else?
Well, Lumen is targeted for fast performance, so it would make sense to optimize your queries en debug your views etc, right?
In order to create high performance apps, we need appropriate tools (like this) to identify performance bottlenecks.
So, :+1: for Lumen support
Okay, initial support for Lumen is added in https://github.com/barryvdh/laravel-debugbar/commit/b9dc8f2626d0d1dc4792b3ab5b3eef0270abd092
Needed a few changes first, but now I've added a LumenServiceProvider and LumenDebugbar. I haven't checked the collectors yet, but I think many won't work properly because of the different events.
What works now is:
debugbar()->info($object))What does not work/not tested
I've added it to the readme. Merged the Debugbar class back together, just 2 seperate ServiceProviders. Closing this, let me know if there are any issues!
Most helpful comment
Well, Lumen is targeted for fast performance, so it would make sense to optimize your queries en debug your views etc, right?