PHPackages                             php-dev/php-onefile-debug - 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. php-dev/php-onefile-debug

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

php-dev/php-onefile-debug
=========================

Lightweight But Powerful Debugging

00PHP

Since Jul 16Pushed 11mo agoCompare

[ Source](https://github.com/jeffschaefercfi/php-onefile-debug)[ Packagist](https://packagist.org/packages/php-dev/php-onefile-debug)[ RSS](/packages/php-dev-php-onefile-debug/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

php-onefile-debug
=================

[](#php-onefile-debug)

Better debugging in PHP. Easy setup with just one file.

To Install: Just copy debug.php into your project somewhere and include it.

To use: Include the Debug file (debug.php) and call the Debug::dbg() function with as many parameters as you want. Each parameter will be shown in a separate div so you can easily see what is going on. Example: $a = null; $b = get\_data\_from\_somewhere(); $c = 'string'.$num; Debug::dbg($a,$b,$c);

For use in a command-line interface, use the console output for a more readable format: Debug::consoledbg($a,$b,$c);

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 78.9% 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/af994fe8b832d6611478a1c7c3a0aa075165f0ce0ea07c6686c854a7717236da?d=identicon)[jas891](/maintainers/jas891)

---

Top Contributors

[![jeffschaefercfi](https://avatars.githubusercontent.com/u/44040186?v=4)](https://github.com/jeffschaefercfi "jeffschaefercfi (15 commits)")[![jeff-schaefer](https://avatars.githubusercontent.com/u/20132273?v=4)](https://github.com/jeff-schaefer "jeff-schaefer (4 commits)")

### Embed Badge

![Health badge](/badges/php-dev-php-onefile-debug/health.svg)

```
[![Health](https://phpackages.com/badges/php-dev-php-onefile-debug/health.svg)](https://phpackages.com/packages/php-dev-php-onefile-debug)
```

###  Alternatives

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.6k](/packages/spatie-craft-ray)

PHPackages © 2026

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