PHPackages                             php-packages/dumpy - 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. php-packages/dumpy

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

php-packages/dumpy
==================

Better var\_dump for PHP.

1.0.2(11y ago)12021MITPHP

Since Feb 22Pushed 11y agoCompare

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

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

Dumpy 1.0.2
===========

[](#dumpy-102)

Better var\_dump for PHP.

Features
--------

[](#features)

- pretty configurable (one-configuration-per-instance)
- fully tested (PHPUnit as a test runner + Essence as BDD assertion framework)
- documented (comments in source code + this readme file)
- decent source code, unlike many solutions I've seen previously

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

[](#installation)

```
composer require php-packages/dumpy

```

Usage
-----

[](#usage)

It's pretty darn simple.

### Configuration

[](#configuration)

```
$dumpy = new PhpPackages\Dumpy\Dumpy;
$dumpy->configure("optionName", "optionValue");
$dumpy->getConfigOption("optionName"); # => "optionValue"
```

Option nameDescriptionPossible valuesstr\_max\_lengththe maximum string lengthany *positive integer*bool\_lowercaseeither `FALSE` or `false`either `false` or `true`null\_lowercaseeither `NULL` or `null`either `false` or `true`round\_doublewhether to `round()` doubles to given decimal point`false` or any *positive integer*replace\_newlinewhether to replace `PHP_EOL` with `\\n`either `false` or `true`array\_max\_elementsa treshold - all odd elements with be replaced with a single `...`any *positive integer*array\_indentingan indentation sequenceany *string* (e.g., `  `)object\_limited\_infowhether to display parent classes, interfaces, traitseither `false` or `true`### Dumping

[](#dumping)

```
$dumpy = new PhpPackages\Dumpy\Dumpy;
// Configure Dumpy...
$stringRepresentation = $dumpy->dump($anyValue);
```

License
-------

[](#license)

The MIT license (MIT).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

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

Total

3

Last Release

4045d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/270a6b451bb75c99beae25836d16453daf58531cfac6baecd8d0a72059baa44b?d=identicon)[bound1ess](/maintainers/bound1ess)

---

Top Contributors

[![bound1ess](https://avatars.githubusercontent.com/u/10074992?v=4)](https://github.com/bound1ess "bound1ess (50 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-packages-dumpy/health.svg)

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

###  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)[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)[beyondcode/helo-laravel

HELO Laravel debug helper

90360.1k](/packages/beyondcode-helo-laravel)

PHPackages © 2026

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