Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dixitchopra's avatar

DebugBar in Laravel

I have started using Debugbar by baaryvdh. I have updated both composer and app.php. I have also written Debugbar::info($data); in my code but that doesn't show me all the queries or give me some snippets so I can understand it. Where can I find a documentation to use it.

How can I see this screen - https://cloud.githubusercontent.com/assets/973269/4270452/740c8c8c-3ccb-11e4-8d9a-5a9e64f19351.png

0 likes
9 replies
dixitchopra's avatar

In Console I can see an error. Uncaught ReferenceError: PhpDebugBar is not defined

luddinus's avatar

@dixitchopra No, you don't.

You don't need as well to do "Debugbar::info($data)", it will load the debugbar en each response, but I do'nt know what the problem is.

Please or to participate in this conversation.