PHPackages                             laulamanapps/phpunit-debug-code-detector - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. laulamanapps/phpunit-debug-code-detector

ActivePhpunit-plugin[Testing &amp; Quality](/categories/testing)

laulamanapps/phpunit-debug-code-detector
========================================

Detect debug code in your project files

01.6k↑19%PHP

Since May 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/LauLamanApps/phpunit-debug-code-detector)[ Packagist](https://packagist.org/packages/laulamanapps/phpunit-debug-code-detector)[ RSS](/packages/laulamanapps-phpunit-debug-code-detector/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

PHPUnit debug code detector
===========================

[](#phpunit-debug-code-detector)

Have you ever pushed code to a repository containing debug code? Me Too! With this PHPUnit extension you'll at least be notified when your test run.

[![Screenshot](docs/terminal.png)](docs/terminal.png)

### Install

[](#install)

Require

```
$ composer require --dev laulamanapps/phpunit-debug-code-detector
```

Configure:

```

                src
                templates

```

Enable only some detectors:

```

                src
                templates

```

Disable colorful output:

```

                src
                templates

            all
            false

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

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/930ca3b1756d00a63c8ff3363e81f16f961cf3ef79ff0c9d362670c36d97e456?d=identicon)[LauLaman](/maintainers/LauLaman)

---

Top Contributors

[![LauLaman](https://avatars.githubusercontent.com/u/8283992?v=4)](https://github.com/LauLaman "LauLaman (3 commits)")

### Embed Badge

![Health badge](/badges/laulamanapps-phpunit-debug-code-detector/health.svg)

```
[![Health](https://phpackages.com/badges/laulamanapps-phpunit-debug-code-detector/health.svg)](https://phpackages.com/packages/laulamanapps-phpunit-debug-code-detector)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M361](/packages/dms-phpunit-arraysubset-asserts)[gong023/assert_chain

enable you to use phpunit assert with method chain

1478.9k3](/packages/gong023-assert-chain)

PHPackages © 2026

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