PHPackages                             ericsalerno/dumpster - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ericsalerno/dumpster

ActiveFramework[Utility &amp; Helpers](/categories/utility)

ericsalerno/dumpster
====================

A small PHP object dump utility.

v1.1.0(9y ago)016MITPHP

Since Jan 30Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ericsalerno/dumpster)[ Packagist](https://packagist.org/packages/ericsalerno/dumpster)[ Docs](http://www.ericsalerno.com/)[ RSS](/packages/ericsalerno-dumpster/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

dumpster
========

[](#dumpster)

[![Latest Stable Version](https://camo.githubusercontent.com/cf5cc6d519a100c2be05a69cee9f836431abc22b38de97d47458c41fc0847bcf/68747470733a2f2f706f7365722e707567782e6f72672f6572696373616c65726e6f2f64756d70737465722f762f737461626c65)](https://packagist.org/packages/ericsalerno/dumpster)[![License](https://camo.githubusercontent.com/0d6e13adaf63e31490c079912ed84cc0f987cb642adc3c68bcfaed4cb8597e6c/68747470733a2f2f706f7365722e707567782e6f72672f6572696373616c65726e6f2f64756d70737465722f6c6963656e7365)](https://packagist.org/packages/ericsalerno/dumpster)[![Build Status](https://camo.githubusercontent.com/0e054506c008a2b7b333b49232c9544f42393b7f2f80fffe6886ee6d1faaf924/68747470733a2f2f7472617669732d63692e6f72672f6572696373616c65726e6f2f64756d70737465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ericsalerno/dumpster)

PHP Object Dump Utility. We all know the only way to debug your code is to step-through it with a debugger, like xdebug. Every now and then you end up in a situation where for some reason you can't and you have to fall back on your baser instincts and dump out object data. But var\_dump and print\_r can be ugly or overwhelming. That's where dumpster comes in.

While some may think that this was called dumpster because it dumps data out. Rather, it's named after a "dumpster fire", which is often what applications that use this method of debugging end up as. **Always use a real debugger if you can!**

Object Dump Usage
-----------------

[](#object-dump-usage)

You can dump the contents of an object simply by creating a dump object and performing output() on it. For example:

```
$d = new \Dumpster\Dump($myDumpableObject);
$d->output();

```

Or you can use the static facade to make things easier.

```
\Dumpster\Dump::object($myDumpableObject);

```

This should work with all scalar, array, or object values.

Here is an example of what the output may look like:

[![Image of Example](./doc/example-output.png)](./doc/example-output.png)

Environment-Level Dump Suppression
----------------------------------

[](#environment-level-dump-suppression)

You can turn-off the Dumpster utility on an entire environment if the environment variable DUMPSTER\_SUPPRESS is a non-zero value. This can help you avoid accidental debug dumps for an application in, for example, a production environment.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

3

Last Release

3392d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/155974?v=4)[Eric Salerno](/maintainers/ericsalerno)[@ericsalerno](https://github.com/ericsalerno)

---

Top Contributors

[![ericsalerno](https://avatars.githubusercontent.com/u/155974?v=4)](https://github.com/ericsalerno "ericsalerno (1 commits)")

---

Tags

debugdebugging-tooldebugging-toolsdumpdumperphpphp7

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ericsalerno-dumpster/health.svg)

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

###  Alternatives

[laracasts/commander

Commands and domain events in Laravel

283368.2k8](/packages/laracasts-commander)[vaimo/composer-changelogs

Provide information about package changes based on changelog files that are bundled with releases; provide tools for generating documentation files from changelog sources

11150.5k10](/packages/vaimo-composer-changelogs)[dollar/generators

Laravel 4 Generators w/ Bootstrap 3

7723.2k](/packages/dollar-generators)

PHPackages © 2026

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