Debug why a page is loading slowly by inspecting all database queries and their execution times.
Trace which routes, views, and events are being triggered during a request.
Monitor memory usage and cache activity to identify performance bottlenecks.
Add custom timing measurements and log messages from your PHP code to track specific operations.
Laravel Debugbar is a PHP package that adds a developer toolbar to your Laravel web application during local development. When you are building a Laravel app and something is running slowly or behaving unexpectedly, it is often hard to see what queries the database is running, which views are being loaded, or how long different parts of the request are taking. The debugbar solves this by injecting a visible panel at the bottom of every page you view in your browser, packed with diagnostic information. It shows you all the database queries that ran (including the time each one took and the exact values passed in), which routes and views were used, all log messages, events fired, cache activity, memory usage, and more. You can also add your own timing measurements or log custom messages directly from your PHP code using a simple facade, a clean interface that looks like calling static methods on a class. You would use Laravel Debugbar during local development to debug slow pages, unexpected behavior, or database query issues. It should never be enabled on a live public website because it exposes internal request data. Install it as a development-only dependency via Composer and it automatically activates when your app is in debug mode.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.