PHPackages                             yetiforce/debugbar - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. yetiforce/debugbar

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

yetiforce/debugbar
==================

Debug bar in the browser for php application

v1.15.0(8y ago)056.4k↓90%3MITPHPPHP &gt;=5.3.0CI failing

Since Jun 19Pushed 8y ago3 watchersCompare

[ Source](https://github.com/YetiForceCompany/php-debugbar)[ Packagist](https://packagist.org/packages/yetiforce/debugbar)[ Docs](https://github.com/maximebf/php-debugbar)[ RSS](/packages/yetiforce-debugbar/feed)WikiDiscussions yeti Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (58)Used By (0)

PHP Debug Bar
=============

[](#php-debug-bar)

[![Latest Stable Version](https://camo.githubusercontent.com/10b3c0250627db5d25a2d6c6f753b9e3e1d9f15a7393db4dc2050989f297a46d/68747470733a2f2f706f7365722e707567782e6f72672f6d6178696d6562662f64656275676261722f762f737461626c652e706e67)](https://packagist.org/packages/maximebf/debugbar) [![Total Downloads](https://camo.githubusercontent.com/dcec4e0b2e1407c141082e5bedaaa10b6c16ec1dec0c06a1f64abff947664698/68747470733a2f2f706f7365722e707567782e6f72672f6d6178696d6562662f64656275676261722f646f776e6c6f6164732e737667)](https://packagist.org/packages/maximebf/debugbar) [![License](https://camo.githubusercontent.com/93abb597f2102525930751482a261885f456013dceb5d77e6c9bf6caee7d626a/68747470733a2f2f706f7365722e707567782e6f72672f6d6178696d6562662f64656275676261722f6c6963656e73652e737667)](https://packagist.org/packages/maximebf/debugbar) [![Build Status](https://camo.githubusercontent.com/f2ce1755adf5eff89c0804341411073329ed3a2c85a085fe8435daace9a5826d/68747470733a2f2f7472617669732d63692e6f72672f6d6178696d6562662f7068702d64656275676261722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/maximebf/php-debugbar)

Displays a debug bar in the browser with information from php. No more `var_dump()` in your code!

[![Screenshot](https://camo.githubusercontent.com/df555869fc9d974b93ad047a473c08462f90ef78f1fc38989ef030e77e579bf7/68747470733a2f2f7261772e6769746875622e636f6d2f6d6178696d6562662f7068702d64656275676261722f6d61737465722f646f63732f73637265656e73686f742e706e67)](https://camo.githubusercontent.com/df555869fc9d974b93ad047a473c08462f90ef78f1fc38989ef030e77e579bf7/68747470733a2f2f7261772e6769746875622e636f6d2f6d6178696d6562662f7068702d64656275676261722f6d61737465722f646f63732f73637265656e73686f742e706e67)

**Features:**

- 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](http://phpdebugbar.com/docs)

Includes collectors for:

- [PDO](http://php.net/manual/en/book.pdo.php)
- [CacheCache](http://maximebf.github.io/CacheCache/)
- [Doctrine](http://doctrine-project.org)
- [Monolog](https://github.com/Seldaek/monolog)
- [Propel](http://propelorm.org/)
- [Slim](http://slimframework.com)
- [Swift Mailer](http://swiftmailer.org/)
- [Twig](http://twig.sensiolabs.org/)

Checkout the [demo](https://github.com/maximebf/php-debugbar/tree/master/demo) for examples and [phpdebugbar.com](http://phpdebugbar.com) for a live example.

Integrations with other frameworks:

- [Laravel](https://github.com/barryvdh/laravel-debugbar)
- [Atomik](http://atomikframework.com/docs/error-log-debug.html#debug-bar)
- [XOOPS](http://xoops.org/modules/news/article.php?storyid=6538)
- [Zend Framework 2](https://github.com/snapshotpl/ZfSnapPhpDebugBar)
- [Phalcon](https://github.com/snowair/phalcon-debugbar)
- [SilverStripe](https://github.com/lekoala/silverstripe-debugbar)
- [Grav CMS](https://getgrav.org)
- Framework-agnostic middleware and PSR-7 with [php-middleware/phpdebugbar](https://github.com/php-middleware/phpdebugbar).

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

Installation
------------

[](#installation)

The best way to install DebugBar is using [Composer](http://getcomposer.org)with the following command:

`composer require maximebf/debugbar`

Quick start
-----------

[](#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 `render()` functions

```

        ...

```

The DebugBar uses DataCollectors to collect data from your PHP code. Some of them are automated but others are manual. Use the `DebugBar` like an array where keys are the collector names. In our previous example, we add a message to the `MessagesCollector`:

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

`StandardDebugBar` activates the following collectors:

- `MemoryCollector` (*memory*)
- `MessagesCollector` (*messages*)
- `PhpInfoCollector` (*php*)
- `RequestDataCollector` (*request*)
- `TimeDataCollector` (*time*)
- `ExceptionsCollector` (*exceptions*)

Learn more about DebugBar in the [docs](http://phpdebugbar.com/docs).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~37 days

Recently: every ~110 days

Total

47

Last Release

2970d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b9962f8b85b97e5d98b46f22e9259d62bb72b6e3f1cc9b7464f0f57c2e6cf52?d=identicon)[yetiforce](/maintainers/yetiforce)

---

Top Contributors

[![maximebf](https://avatars.githubusercontent.com/u/305740?v=4)](https://github.com/maximebf "maximebf (216 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (147 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (16 commits)")[![GuimDev](https://avatars.githubusercontent.com/u/16418215?v=4)](https://github.com/GuimDev "GuimDev (11 commits)")[![Anahkiasen](https://avatars.githubusercontent.com/u/1321596?v=4)](https://github.com/Anahkiasen "Anahkiasen (7 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (5 commits)")[![rhukster](https://avatars.githubusercontent.com/u/1084697?v=4)](https://github.com/rhukster "rhukster (5 commits)")[![jfexyz](https://avatars.githubusercontent.com/u/66879?v=4)](https://github.com/jfexyz "jfexyz (5 commits)")[![mpoiriert](https://avatars.githubusercontent.com/u/4175616?v=4)](https://github.com/mpoiriert "mpoiriert (4 commits)")[![linaspasv](https://avatars.githubusercontent.com/u/1407067?v=4)](https://github.com/linaspasv "linaspasv (2 commits)")[![arnaudroulee](https://avatars.githubusercontent.com/u/2988508?v=4)](https://github.com/arnaudroulee "arnaudroulee (2 commits)")[![ciruz](https://avatars.githubusercontent.com/u/987947?v=4)](https://github.com/ciruz "ciruz (2 commits)")[![cloudjibao](https://avatars.githubusercontent.com/u/4042304?v=4)](https://github.com/cloudjibao "cloudjibao (2 commits)")[![geekwright](https://avatars.githubusercontent.com/u/3181636?v=4)](https://github.com/geekwright "geekwright (2 commits)")[![kardagan](https://avatars.githubusercontent.com/u/4290404?v=4)](https://github.com/kardagan "kardagan (2 commits)")[![mariuszkrzaczkowski](https://avatars.githubusercontent.com/u/10198654?v=4)](https://github.com/mariuszkrzaczkowski "mariuszkrzaczkowski (2 commits)")[![Metallizzer](https://avatars.githubusercontent.com/u/691719?v=4)](https://github.com/Metallizzer "Metallizzer (2 commits)")[![mikealmond](https://avatars.githubusercontent.com/u/600744?v=4)](https://github.com/mikealmond "mikealmond (2 commits)")[![nsams](https://avatars.githubusercontent.com/u/50764?v=4)](https://github.com/nsams "nsams (2 commits)")[![tonglil](https://avatars.githubusercontent.com/u/3250776?v=4)](https://github.com/tonglil "tonglil (2 commits)")

---

Tags

debugdebugbar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yetiforce-debugbar/health.svg)

```
[![Health](https://phpackages.com/badges/yetiforce-debugbar/health.svg)](https://phpackages.com/packages/yetiforce-debugbar)
```

###  Alternatives

[php-debugbar/php-debugbar

Debug bar in the browser for php application

4.4k21.3M39](/packages/php-debugbar-php-debugbar)[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k124.3M621](/packages/barryvdh-laravel-debugbar)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k28](/packages/fruitcake-laravel-debugbar)[fruitcake/laravel-telescope-toolbar

Toolbar for Laravel Telescope based on Symfony Web Profiler

8041.6M3](/packages/fruitcake-laravel-telescope-toolbar)[recca0120/laravel-tracy

A Laravel Package to integrate Nette Tracy Debugger

388283.0k3](/packages/recca0120-laravel-tracy)[snowair/phalcon-debugbar

Integrates PHP Debug Bar with Phalcon.

160123.3k1](/packages/snowair-phalcon-debugbar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
