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 10mo 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 1mo ago

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

Maintenance39

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

[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)[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)[beyondcode/helo-laravel

HELO Laravel debug helper

90360.1k](/packages/beyondcode-helo-laravel)

PHPackages © 2026

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