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

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

darkenphp/debugbar
==================

A Darken boilerplate for creating a new extension.

126PHP

Since Aug 23Pushed 8mo ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Darken Debugbar
===============

[](#darken-debugbar)

1. Composer

Install the debugbar extension. add it to require dev section: `composer require darkenphp/debugbar:dev-main --dev`

2. Configure Extension

Now add the extension in your `app/Config.php` to the `extensions()` method:

```
 public function extensions(ExtensionService $service): ExtensionService
    {
        return $service
            ->register(new \Darken\Debugbar\Build\Extension(new \Darken\Debugbar\DebugBarConfig(
                isActive: $this->getDebugMode()
            )));
    }
```

The `isActive` property of the DebugBarConfig controls, whether the Debugbar is visible or not, we directly connect this to the currents configuraiton `getDebugMode()` method.

3. Using

You can now Inject the DebugBarConfig anywhere and start using message and start/top methods, an example:

```
#[\Darken\Attributes\Inject]
public \Darken\Debugbar\DebugBarConfig $debug;

public function getBlogs()
{
    $this->debug->message('Fetching blog list');

    $this->debug->start('fetch_blog_list', 'Retrieving blog list');
    $items = $this->blogs->getItems();
    $this->debug->stop('fetch_blog_list');

    return $items;
}
```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance42

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/86184bf08843ed8fcc4aedb2fdecd8a9e832e47e89a7166cebfda529c176f5ce?d=identicon)[nadar](/maintainers/nadar)

---

Top Contributors

[![nadar](https://avatars.githubusercontent.com/u/3417221?v=4)](https://github.com/nadar "nadar (15 commits)")

### Embed Badge

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

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

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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