Package

Barryvdh Laravel Debugbar

PHP Debugbar integration for Laravel

Package

barryvdh/laravel-debugbar

View on GitHub →

Overview

What Barryvdh Laravel Debugbar does

The barryvdh/laravel-debugbar integrates PHP Debug Bar with Laravel, providing developers a robust tool for debugging and performance profiling in their Laravel applications.

Designed specifically for development environments, Laravel Debugbar attaches a comprehensive debug panel to an application's output. It captures and presents data about routes, queries, and the current environment, helping developers gain detailed insights into their application's inner workings. The package warns against use in production due to potential information leakage and performance hits.

Developers can leverage a variety of data collectors included with the package. The QueryCollector tracks database queries including their binding and execution time, and the ViewCollector shows currently loaded views, with an option to display shared data. Additionally, the package includes collectors for routes, events, log messages, and more, providing a full picture of what's happening in an application.

Laravel Debugbar is easy to set up thanks to Laravel's package auto-discovery. It activates automatically when `APP_DEBUG` is set to true and the environment is not set to production or testing. The tool can be further configured via the `debugbar.php` config file, offering control over which assets to use and whether certain collectors are enabled.

Developers can interact with the debug bar through a facade which simplifies logging messages, exceptions, and measures. This functionality, alongside the ability to add custom data collectors, makes Laravel Debugbar a flexible tool that integrates seamlessly into the development workflow. Its compatibility with Octane ensures that it runs smoothly in various Laravel setups.

This overview was generated by AI from the package README and may not reflect the latest release.

Read the full README →

Barryvdh Laravel Debugbar Related Articles

Laravel Debugbar v4.0.0 is released image

Laravel Debugbar v4.0.0 is released

Read article
Laravel Debugbar Gets a Big UI Update image

Laravel Debugbar Gets a Big UI Update

Read article
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
No Compromises logo

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $9500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises
Acquaint Softtech logo

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech
Pushsilver logo

Pushsilver

Pushsilver is simple invoicing for freelancers and small studios — send polished invoices, automate reminders, and get paid on time without the bloat.

Pushsilver
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift