PHPackages                             codemonster-ru/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. [CLI &amp; Console](/categories/cli)
4. /
5. codemonster-ru/dumper

ActiveLibrary[CLI &amp; Console](/categories/cli)

codemonster-ru/dumper
=====================

Simple and elegant PHP variable dumper for CLI and web environments

v1.0.0(7mo ago)01641MITPHPPHP &gt;=8.2CI passing

Since Oct 7Pushed 7mo agoCompare

[ Source](https://github.com/codemonster-ru/dumper)[ Packagist](https://packagist.org/packages/codemonster-ru/dumper)[ Docs](https://github.com/codemonster-ru/dumper)[ RSS](/packages/codemonster-ru-dumper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

codemonster-ru/dumper
=====================

[](#codemonster-rudumper)

[![Latest Version on Packagist](https://camo.githubusercontent.com/47b41a5fac255545f5d341d326af7484805f777859c98ed5b18c38b0639cdb90/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656d6f6e737465722d72752f64756d7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codemonster-ru/dumper)[![Total Downloads](https://camo.githubusercontent.com/03f629ceb8044ba7d4c63b4b6fa54f037c9171d4860c65b05f3aa922d29d86c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f64656d6f6e737465722d72752f64756d7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codemonster-ru/dumper)[![License](https://camo.githubusercontent.com/4704e4b029bf3f39622515a95c1e76cb2a02d23fa431b1fff49823300e9b98c3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f64656d6f6e737465722d72752f64756d7065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codemonster-ru/dumper)[![Tests](https://github.com/codemonster-ru/dumper/actions/workflows/tests.yml/badge.svg)](https://github.com/codemonster-ru/dumper/actions/workflows/tests.yml)

A simple and elegant PHP variable dumper for both **CLI** and **web** environments.

📦 Installation
--------------

[](#-installation)

Via Composer:

```
composer require codemonster-ru/dumper
```

🚀 Usage
-------

[](#-usage)

```
use Codemonster\Dumper\Dumper;

// Automatically detects environment (CLI or HTML)
Dumper::dump($value);

// Force a specific mode
Dumper::dump($value, 'cli');
Dumper::dump($value, 'html');
```

### Dump and Die

[](#dump-and-die)

If you want to dump a value and immediately stop script execution:

```
use Codemonster\Dumper\Dumper;

// Dump a single value and exit
Dumper::dd($user);

// Dump multiple values
Dumper::dd($request, $response);

// Force HTML or CLI mode explicitly
Dumper::dd($data, 'html');
Dumper::dd($data, 'cli');
```

🧪 Testing
---------

[](#-testing)

You can run tests with the command:

```
composer test
```

👨‍💻 Author
----------

[](#‍-author)

[Kirill Kolesnikov](https://github.com/KolesnikovKirill)

📜 License
---------

[](#-license)

[MIT](https://github.com/codemonster-ru/dumper/blob/main/LICENSE)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance64

Regular maintenance activity

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

223d ago

### Community

Maintainers

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

---

Top Contributors

[![KolesnikovKirill](https://avatars.githubusercontent.com/u/33142935?v=4)](https://github.com/KolesnikovKirill "KolesnikovKirill (3 commits)")

---

Tags

clidddebugdumpdumperhtmlphpvar-dumpphpclidebugdumphtmlvar\_dumpdumperdd

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[buggregator/trap

A simple and powerful tool for debugging PHP applications.

2591.7M40](/packages/buggregator-trap)[jbzoo/jbdump

Script for debug and dump PHP variables and other stuff. This tool is a nice replacement for print\_r() and var\_dump() functions.

211.1M3](/packages/jbzoo-jbdump)[php-sage/sage

☯ Insightful PHP debugging assistant.

5639.7k5](/packages/php-sage-sage)[ivoba/stop

nice output for debug functions for PHP 5.3

1041.9k5](/packages/ivoba-stop)

PHPackages © 2026

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