PHPackages                             patchwork/dumper - 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. patchwork/dumper

Abandoned → [symfony/var-dumper](/?search=symfony%2Fvar-dumper)ArchivedLibrary[Debugging &amp; Profiling](/categories/debugging)

patchwork/dumper
================

The DebugBundle of Symfony 2.6 backported for 2.3+

v1.4.2(11y ago)9030.1k10[2 issues](https://github.com/tchwork/debug-bundle/issues)2MITPHPPHP &gt;=5.3.3

Since Feb 5Pushed 11y ago5 watchersCompare

[ Source](https://github.com/tchwork/debug-bundle)[ Packagist](https://packagist.org/packages/patchwork/dumper)[ Docs](https://github.com/tchwork/debug-bundle)[ RSS](/packages/patchwork-dumper/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (6)Versions (35)Used By (2)

The DebugBundle of Symfony 2.6 backported for 2.3+
==================================================

[](#the-debugbundle-of-symfony-26-backported-for-23)

This bundle provides a better `dump()` function, that you can use instead of `var_dump()`, *better* meaning:

- per object and resource types specialized view: e.g. filter out Doctrine internals while dumping a single proxy entity, or get more insight on opened files with `stream_get_meta_data()`;
- ability to dump internal references, either soft ones (objects or resources) or hard ones (`=&` on arrays or objects properties). Repeated occurrences of the same object/array/resource won't appear again and again anymore. Moreover, you'll be able to inspect the reference structure of your data.
- ability to operate in the context of an output buffering handler.
- full exposure of the internal mechanisms used for walking through an arbitrary PHP data structure.

Calling `dump($myVvar)` works in all PHP code and `{% dump myVar %}` or `{{ dump(myVar) }}` in Twig templates.

Usage
-----

[](#usage)

The recommended way to use this package is [through composer](http://getcomposer.org). Just create a `composer.json` file and run the `php composer.phar install`command to install it:

```
{
    "require": {
        "tchwork/debug-bundle": "~1.4"
    }
}

```

Then, enable the bundle in your `app/AppKernel.php`, preferably only for the *dev*and *test* environments:

```
public function registerBundles()
{
    $bundles = array(
        // ...
        new \Symfony\Bundle\DebugBundle\DebugBundle(),
    );
}
```

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 96.3% 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 ~13 days

Recently: every ~38 days

Total

34

Last Release

4058d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.3.0

v1.2.0PHP &gt;=5.3.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/243674?v=4)[Nicolas Grekas](/maintainers/nicolas-grekas)[@nicolas-grekas](https://github.com/nicolas-grekas)

---

Top Contributors

[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (233 commits)")[![lyrixx](https://avatars.githubusercontent.com/u/408368?v=4)](https://github.com/lyrixx "lyrixx (2 commits)")[![OwlyCode](https://avatars.githubusercontent.com/u/1631270?v=4)](https://github.com/OwlyCode "OwlyCode (2 commits)")[![ruian](https://avatars.githubusercontent.com/u/564529?v=4)](https://github.com/ruian "ruian (1 commits)")[![jeromemacias](https://avatars.githubusercontent.com/u/582446?v=4)](https://github.com/jeromemacias "jeromemacias (1 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (1 commits)")[![oscherler](https://avatars.githubusercontent.com/u/189712?v=4)](https://github.com/oscherler "oscherler (1 commits)")[![romainneutron](https://avatars.githubusercontent.com/u/137574?v=4)](https://github.com/romainneutron "romainneutron (1 commits)")

---

Tags

dump

### Embed Badge

![Health badge](/badges/patchwork-dumper/health.svg)

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

###  Alternatives

[symfony/debug-bundle

Provides a tight integration of the Symfony VarDumper component and the ServerLogCommand from MonologBridge into the Symfony full-stack framework

2.4k115.8M824](/packages/symfony-debug-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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