PHPackages                             jacobstr/dumpling - 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. jacobstr/dumpling

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

jacobstr/dumpling
=================

Like print\_r, but depth limited and cyclic reference safe.

v0.0.3(12y ago)130.9k11MITPHP

Since Apr 7Pushed 11y ago2 watchersCompare

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

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

Dumpling
--------

[](#dumpling)

A small utility for generating variable dumps. PHP's built-in print\_r goes haywire when using complex object graphs. It also outputs directly to stdout by default.

Originally based off the code here: [http://ca2.php.net/print\_r#78851](http://ca2.php.net/print_r#78851). Wrapped up and packaged for the composer era.

Usage
-----

[](#usage)

Dumpling

```
>> echo Dumpling::d($cyclical_line_point_object);

Dumpling\Tests\Line Object (
    [points] => Array (
        [0] => Dumpling\Tests\Point Object (
            [x] => 5
            [y] => 10
            [line] => Nested Dumpling\Tests\Line Object
        )
    )
)

>> echo Dumpling::d(array_slice(debug_backtrace(),0,2),2);

Array (
    [0] => Array (
        [function] => should_dump_a_recursive_object_at_depth_2
        [class] => Dumpling\Tests\DumplingTest
        [object] => Nested Dumpling\Tests\DumplingTest Object
        [type] => ->
        [args] => Nested Array
    )
    [1] => Array (
        [file] => /Users/jacob/Work/dumpling/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php
        [line] => 983
        [function] => invokeArgs
        [class] => ReflectionMethod
        [object] => Nested ReflectionMethod Object
        [type] => ->
        [args] => Nested Array
    )
)

```

Tests
-----

[](#tests)

```
composer install
vendor/bin/phpunit tests/DumplingTest.php

```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

4435d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/70507?v=4)[Jacob Straszynski](/maintainers/jacobstr)[@jacobstr](https://github.com/jacobstr)

![](https://avatars.githubusercontent.com/u/21269670?v=4)[Epson Developer Relations](/maintainers/moverio)[@moverio](https://github.com/moverio)

---

Top Contributors

[![jacobstr](https://avatars.githubusercontent.com/u/70507?v=4)](https://github.com/jacobstr "jacobstr (15 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jacobstr-dumpling/health.svg)

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

###  Alternatives

[icings/menu

A KnpMenu seasoned menu plugin for CakePHP.

1270.3k1](/packages/icings-menu)

PHPackages © 2026

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