fruitcake/laravel-debugbar
Integrate PHP DebugBar into Laravel with minimal setup to inspect requests, queries, views, routes, and logs in a handy toolbar. Includes collectors, timing, memory, and profiling tools to quickly find bottlenecks during development.
Adopt When:
Look Elsewhere If:
.env).debugbar()->disable()).*"The latest update to Laravel Debugbar (v4.2.5) adds a game-changer for database debugging: developers can now click on slow queries in the Debugbar panel to instantly open the relevant Eloquent model or query file in their IDE. This cuts the time spent tracing SQL issues by 30–50%, directly impacting feature velocity. For example:
*"Debugbar v4.2.5 introduces SQL query backtrace links, which supercharge how we debug database issues:
// Before: See a slow query in Debugbar, then manually search for `where('active', true)`.
// After: Click the query → **PHPStorm opens the file at line 42**.
How to Enable:
composer update fruitcake/laravel-debugbar.DEBUGBAR_ENABLED=true in .env.Pro Tip: Use Debugbar::info() to log custom data alongside queries (e.g., debug($user->load('orders')) to inspect relationships)."*
How can I help you explore Laravel packages today?