Need help with php-debugbar?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

3.9K Stars 350 Forks MIT License 591 Commits 122 Opened issues


Debug bar for PHP

Services available


Need anything else?

Contributors list

PHP Debug Bar

Latest Stable Version Total Downloads License Tests

Displays a debug bar in the browser with information from php. No more

in your code!



  • Generic debug bar
  • Easy to integrate with any project
  • Clean, fast and easy to use interface
  • Handles AJAX request
  • Includes generic data collectors and collectors for well known libraries
  • The client side bar is 100% coded in javascript
  • Easily create your own collectors and their associated view in the bar
  • Save and re-open previous requests
  • Very well documented

Includes collectors for:

Checkout the demo for examples and for a live example.

Integrations with other frameworks:

(drop me a message or submit a PR to add your DebugBar related project here)


The best way to install DebugBar is using Composer with the following command:

composer require maximebf/debugbar

Quick start

DebugBar is very easy to use and you can add it to any of your projects in no time. The easiest way is using the

use DebugBar\StandardDebugBar;

$debugbar = new StandardDebugBar(); $debugbarRenderer = $debugbar->getJavascriptRenderer();

$debugbar["messages"]->addMessage("hello world!"); ?>

    <?php echo $debugbarRenderer->renderHead() ?&gt;

    <?php echo $debugbarRenderer->render() ?&gt;

The DebugBar uses DataCollectors to collect data from your PHP code. Some of them are automated but others are manual. Use the

like an array where keys are the collector names. In our previous example, we add a message to the
$debugbar["messages"]->addMessage("hello world!");

activates the following collectors:
  • MemoryCollector
  • MessagesCollector
  • PhpInfoCollector
  • RequestDataCollector
  • TimeDataCollector
  • ExceptionsCollector

Learn more about DebugBar in the docs.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.