PHPackages                             mmantai/var\_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. [Testing &amp; Quality](/categories/testing)
4. /
5. mmantai/var\_dumper

ActiveLibrary[Testing &amp; Quality](/categories/testing)

mmantai/var\_dumper
===================

dump variables with formatting

0.0.1(2y ago)05MITPHP

Since Oct 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/MathiasMantai/var_dumper)[ Packagist](https://packagist.org/packages/mmantai/var_dumper)[ RSS](/packages/mmantai-var-dumper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Examples
--------

[](#examples)

### Object

[](#object)

```
use Mmantai\VarDumper\VarDumper;

class Calc
{

    public function __construct(public int|float $a, public int|float $b)
    {

    }

    public function add()
    {
        return $this->a + $this->b;
    }
}

$calc = new Calc(5, 10);

VarDumper::dump($calc);
```

### Output

[](#output)

[![Example](./screenshots/screenshot_01.png)](./screenshots/screenshot_01.png)

### Array

[](#array)

```
use Mmantai\VarDumper\VarDumper;

$arr = [
    "This",
    "is",
    "an",
    "array",
    5,
    10.0
];

VarDumper::dump($arr);
```

### Output

[](#output-1)

[![Example](./screenshots/screenshot_02.png)](./screenshots/screenshot_02.png)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

930d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fdb8b4ffd1d53248eb116e6629a03e851e0b01b9fcf8815bfe9ee0830ca18d16?d=identicon)[mmantai](/maintainers/mmantai)

---

Top Contributors

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

---

Tags

arraydumpinfoobjectphptestvartestingdevdumpvariablesvar\_dumpvar-dumpervar

### Embed Badge

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

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

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.0k](/packages/orchestra-testbench)[orchestra/testbench-core

Testing Helper for Laravel Development

27043.7M308](/packages/orchestra-testbench-core)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8017.0M43](/packages/orchestra-workbench)[donatj/mock-webserver

Simple mock web server for unit testing

1382.5M80](/packages/donatj-mock-webserver)[guanguans/laravel-soar

SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。

2227.8k](/packages/guanguans-laravel-soar)[pierstoval/smoke-testing

Smoke testing automator for Symfony applications

4032.6k](/packages/pierstoval-smoke-testing)

PHPackages © 2026

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