PHPackages                             dongww/silex-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. dongww/silex-debugbar

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

dongww/silex-debugbar
=====================

php-debugbar provider for silex.

v0.4.0(9y ago)721.5k↓40%2MITPHP

Since Sep 14Pushed 9y ago1 watchersCompare

[ Source](https://github.com/dongww/silex-debugbar)[ Packagist](https://packagist.org/packages/dongww/silex-debugbar)[ RSS](/packages/dongww-silex-debugbar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

php-debugbar provider for Silex 2.\*.

[![debugBar](debug-bar.jpg)](debug-bar.jpg)

\##Install

`composer require dongww/silex-debugbar *`

\##Usage

```
$app->register(new Dongww\Silex\Provider\DebugBarServiceProvider());
```

The JS and CSS files will be loaded from vendor directory automatically.

If vendor directory or debugBar's Resources directory already exists in the web public directory, you can set option 'debug\_bar.auto\_res' to `false`, and set option 'debug\_bar.path' to resources directory. This will speed up the loading speed.

```
$app->register(new Dongww\Silex\Provider\DebugBarServiceProvider(), [
    'debug_bar.auto_res' => false, //Optional, default is true
    'debug_bar.path' => '/debugbar', //Optional, default is null.
]);
```

\##Example

```
register(new DebugBarServiceProvider(), [
//        'debug_bar.auto_res' => false, //Optional, default is true
//        'debug_bar.path'      => '/debugbar', //Optional, default is null.
    ]);
}

$app->get('/', function (Application $app) {
    $app['debug_bar']['messages']->addMessage("Hello DebugBar!");
    $app['debug_bar']['messages']->addMessage([
        'a' => 1,
        'b' => 2,
        'c' => 3,
    ]);

    return 'This is an example for silex_debugbar provider.';
});

$app->run();
```

\##Doctrine DBAL logs

If you use Doctrine Provider, sql logs will be automatically captured and displayed in debugBar.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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 ~274 days

Total

4

Last Release

3442d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3248692bad47680836dd177cafc5426a9bfce18d29ed355afac349bf23d1bed?d=identicon)[dongww@gmail.com](/maintainers/dongww@gmail.com)

---

Top Contributors

[![dongww](https://avatars.githubusercontent.com/u/2416934?v=4)](https://github.com/dongww "dongww (10 commits)")

---

Tags

debugdebugbarsilex

### Embed Badge

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

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

###  Alternatives

[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

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

Debug bar in the browser for php application

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

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[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)
