PHPackages                             jeremykendall/doctrine-debug-helper - 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. [Database &amp; ORM](/categories/database)
4. /
5. jeremykendall/doctrine-debug-helper

ActiveLibrary[Database &amp; ORM](/categories/database)

jeremykendall/doctrine-debug-helper
===================================

Convenience wrapper around \\Doctrine\\Common\\Util\\Debug::dump()

0.0.2(11y ago)2134MITPHPPHP &gt;=5.3.2

Since Aug 28Pushed 11y ago1 watchersCompare

[ Source](https://github.com/jeremykendall/doctrine-debug-helper)[ Packagist](https://packagist.org/packages/jeremykendall/doctrine-debug-helper)[ RSS](/packages/jeremykendall-doctrine-debug-helper/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Doctrine Debug Helper
=====================

[](#doctrine-debug-helper)

The Doctrine Debug Helper is a set of convenience functions that wrap `\Doctrine\Common\Util\Debug::dump()`. Because lazy.

Installation
------------

[](#installation)

Use [Composer](http://getcomposer.org) to install Doctrine Debug Helper.

```
{
    "require": {
        "jeremykendall/doctrine-debug-helper": "*"
    }
}

```

dc() and dcd()
--------------

[](#dc-and-dcd)

`dc()` and `dcd()` wrap `\Doctrine\Common\Util\Debug::dump()`, but use custom defaults. I much prefer a higher `$maxDepth` than 2 and I don't want the dump run through `html_entity_decode`. Since the point of these function is less typing, these functions provide the defaults that I prefer.

`void dc($var, $maxDepth = 3, $stripTags = false)`

Prints a dump of the public, protected and private properties of $var.

Uses custom defaults: $maxDepth defaults to 3 and $stripTags defaults to false.

`void dcd($var, $maxDepth = 3, $stripTags = false)`

Prints a dump of the public, protected and private properties of $var and dies.

Uses custom defaults: $maxDepth defaults to 3 and $stripTags defaults to false.

Recommendation
--------------

[](#recommendation)

[![Do you even Xdebug?](https://camo.githubusercontent.com/0c576e36c9f11068ba7ebd9b442b2595c2150951c37c518e15c413396df28f73/687474703a2f2f692e696d6775722e636f6d2f693762504b78472e706e67)](https://camo.githubusercontent.com/0c576e36c9f11068ba7ebd9b442b2595c2150951c37c518e15c413396df28f73/687474703a2f2f692e696d6775722e636f6d2f693762504b78472e706e67)

In my opinion, `\Doctrine\Common\Util\Debug::dump()` is best when [Xdebug](http://xdebug.org/)is installed. You should be using Xdebug in development anyhow, so go [install it](http://xdebug.org/docs/install) now. NOW.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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 ~136 days

Total

2

Last Release

4138d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4232bff51ec1380e748a6829d6f98b88a15f16cc70af454da69d50c469d8c889?d=identicon)[jeremykendall](/maintainers/jeremykendall)

---

Top Contributors

[![jeremykendall](https://avatars.githubusercontent.com/u/288613?v=4)](https://github.com/jeremykendall "jeremykendall (8 commits)")

---

Tags

helperdebuggingormdoctrinehelper functionconvenience function

### Embed Badge

![Health badge](/badges/jeremykendall-doctrine-debug-helper/health.svg)

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

###  Alternatives

[h4cc/alice-fixtures-bundle

Symfony2 Bundle for loading fixture data with the Alice library.

76314.2k7](/packages/h4cc-alice-fixtures-bundle)

PHPackages © 2026

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