PHPackages                             mvalencia/debugbar-php8 - 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. mvalencia/debugbar-php8

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

mvalencia/debugbar-php8
=======================

Debug bar in the browser for php application based in maximebf/debugbar

0.1.0(3y ago)04.8k1MITPHPPHP ^7.1|^8

Since Nov 25Pushed 3y agoCompare

[ Source](https://github.com/e1m46n1f1c0/php-debugbar-php-8)[ Packagist](https://packagist.org/packages/mvalencia/debugbar-php8)[ Docs](https://github.com/maximebf/php-debugbar)[ RSS](/packages/mvalencia-debugbar-php8/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)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) [![Tests](https://github.com/maximebf/php-debugbar/actions/workflows/run-tests.yml/badge.svg)](https://github.com/maximebf/php-debugbar/actions/workflows/run-tests.yml)

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)
- [TYPO3](https://github.com/Konafets/typo3_debugbar)
- [Joomla](https://github.com/joomla/joomla-cms/blob/4.0-dev/plugins/system/debug/debug.php)
- [Drupal](https://www.drupal.org/project/debugbar)
- [October CMS](https://github.com/rainlab/debugbar-plugin)
- 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

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1271d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3f772c6ec6a58c5eed28ea4702cb3c4ef3b0df70fff9c54e2ef319563cc1f78?d=identicon)[e1m46n1f1c0](/maintainers/e1m46n1f1c0)

---

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 (180 commits)")[![james-johnston-thumbtack](https://avatars.githubusercontent.com/u/22308682?v=4)](https://github.com/james-johnston-thumbtack "james-johnston-thumbtack (19 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)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (7 commits)")[![Anahkiasen](https://avatars.githubusercontent.com/u/1321596?v=4)](https://github.com/Anahkiasen "Anahkiasen (7 commits)")[![jfexyz](https://avatars.githubusercontent.com/u/66879?v=4)](https://github.com/jfexyz "jfexyz (5 commits)")[![rhukster](https://avatars.githubusercontent.com/u/1084697?v=4)](https://github.com/rhukster "rhukster (5 commits)")[![mpoiriert](https://avatars.githubusercontent.com/u/4175616?v=4)](https://github.com/mpoiriert "mpoiriert (4 commits)")[![webmailcontatos](https://avatars.githubusercontent.com/u/11367804?v=4)](https://github.com/webmailcontatos "webmailcontatos (3 commits)")[![stevelacey](https://avatars.githubusercontent.com/u/289531?v=4)](https://github.com/stevelacey "stevelacey (3 commits)")[![e1m46n1f1c0](https://avatars.githubusercontent.com/u/3527259?v=4)](https://github.com/e1m46n1f1c0 "e1m46n1f1c0 (3 commits)")[![Rudloff](https://avatars.githubusercontent.com/u/840125?v=4)](https://github.com/Rudloff "Rudloff (3 commits)")[![tonglil](https://avatars.githubusercontent.com/u/3250776?v=4)](https://github.com/tonglil "tonglil (2 commits)")[![alikon](https://avatars.githubusercontent.com/u/181681?v=4)](https://github.com/alikon "alikon (2 commits)")[![xvilo](https://avatars.githubusercontent.com/u/390769?v=4)](https://github.com/xvilo "xvilo (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)")

---

Tags

debugdebugbar

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[php-debugbar/php-debugbar

Debug bar in the browser for php application

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

PHP Debugbar integration for Laravel

19.2k124.3M624](/packages/barryvdh-laravel-debugbar)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/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)
