PHPackages                             pa-ulander/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. pa-ulander/debug

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

pa-ulander/debug
================

simple and old, very old, old school debugging for php scripts

v0.1.0(7y ago)02.8k↓50%PHPPHP ^5.0

Since Apr 15Pushed 2y agoCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Simple old school debug class from early php5 days.

Can be handy still to this day for quick debugging in old legacy projects.

Does one thing only. Sort of a super-stupid console.log for php.

Dumps to screen or logfile.

Install:

```
composer require --dev "pa-ulander/debug @dev"

```

In composer.json add to autoload:

```
    "autoload-dev": {
        "psr-0": {
            "debug": "vendor/pa-ulander/debug"
        }
    },
```

Use:

```
new \debug\debug($some_thing_to_debug); // logs to screen

new \debug\debug($some_thing_to_debug, 1); // logs to file

new \debug\debug($some_thing_to_debug, 2); // logs to file with backtrace
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

2590d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1539621d22e13ed8c600d8c253781c9552723e717242163b86acbaf14bbe704e?d=identicon)[pa-ulander](/maintainers/pa-ulander)

---

Top Contributors

[![pa-ulander](https://avatars.githubusercontent.com/u/1719300?v=4)](https://github.com/pa-ulander "pa-ulander (22 commits)")

### Embed Badge

![Health badge](/badges/pa-ulander-debug/health.svg)

```
[![Health](https://phpackages.com/badges/pa-ulander-debug/health.svg)](https://phpackages.com/packages/pa-ulander-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)[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)
