PHPackages                             logocomune/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. [CLI &amp; Console](/categories/cli)
4. /
5. logocomune/debug

AbandonedArchivedLibrary[CLI &amp; Console](/categories/cli)

logocomune/debug
================

simple debugging tool which prints human-readable information about a variable.

1.1.0(11y ago)290PHPPHP &gt;=5.3.3

Since May 11Pushed 11y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (3)Used By (0)

Debug tool
==========

[](#debug-tool)

This software is a simple debugging tool which prints human-readable information about a variable in HTML or pure text if the execution is from CLI mode.

Install
-------

[](#install)

Install the latest version with `composer require logocomune/debug`

Alternatively, you can specify Debug as a dependency in your project’s existing composer.json file:

```
{
 "require-dev": {
    "logocomune/debug": "~1.1"
 }
}
```

Usage
-----

[](#usage)

Basic example:

```
// debug() or d() just display a variable
debug(['test'=>1,'d'=>'ok']);

// debug and exit
de(['test'=>1,'d'=>'ok']);
```

Available features:

```
// Disable debug
\Logocomune\Debug\Debug::disable();

// Enable backtrace
\Logocomune\Debug::backtrace();

// Disable backtrace
\Logocomune\Debug::backtraceOff();

// Dump a variable with

// print_r (default mode)
\Logocomune\Debug::renderAsPrintR();

// var_dump
\Logocomune\Debug::renderAsVarDump();

// var_export
\Logocomune\Debug::renderAsVarExport();

// Symfony mechanism for exploring and dumping PHP variables
\Logocomune\Debug::renderAsSymVarDump();
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~2 days

Total

2

Last Release

4023d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/471c893c86b35546f2b7c4851bb7132d8a406b7acf96e300ef0dc6f8ea9818b5?d=identicon)[logocomune](/maintainers/logocomune)

---

Top Contributors

[![logocomune](https://avatars.githubusercontent.com/u/1417145?v=4)](https://github.com/logocomune "logocomune (2 commits)")

---

Tags

clidebugvar\_exportdebugginghtmlprint\_rvar\_dump

### Embed Badge

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

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

###  Alternatives

[buggregator/trap

A simple and powerful tool for debugging PHP applications.

2591.7M40](/packages/buggregator-trap)[kktsvetkov/krumo

Krumo is a debugging tool, which displays structured information about any PHP variable. It is a nice replacement for print\_r() or var\_dump() which are used by a lot of PHP developers.

8260.7k](/packages/kktsvetkov-krumo)[mmucklo/krumo

KRUMO - version 2.0 of print\_r(); and var\_dump(); (with new updates)

89168.0k6](/packages/mmucklo-krumo)[jbzoo/jbdump

Script for debug and dump PHP variables and other stuff. This tool is a nice replacement for print\_r() and var\_dump() functions.

211.1M3](/packages/jbzoo-jbdump)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1322.1k12](/packages/mahocommerce-maho)

PHPackages © 2026

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