PHPackages                             chevere/var-dump - 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. chevere/var-dump

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

chevere/var-dump
================

A multi-purpose colorful modern alternative to var\_dump

2.0.10(3mo ago)3743.0k↓41.6%1[2 issues](https://github.com/chevere/var-dump/issues)16Apache-2.0PHPPHP ^8.1CI passing

Since Feb 8Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/chevere/var-dump)[ Packagist](https://packagist.org/packages/chevere/var-dump)[ Docs](https://chevere.org)[ RSS](/packages/chevere-var-dump/feed)WikiDiscussions 2.0 Synced 3w ago

READMEChangelog (10)Dependencies (7)Versions (41)Used By (16)

VarDump
=======

[](#vardump)

[![Chevere](chevere.svg)](chevere.svg)

[![Build](https://camo.githubusercontent.com/a20ad98e0a25b1c03493625f8c0b58cf1edbfb85ee6b6206f60b550ca7a14b58/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f636865766572652f7661722d64756d702f746573742e796d6c3f6272616e63683d322e30267374796c653d666c61742d737175617265)](https://github.com/chevere/var-dump/actions)[![Code size](https://camo.githubusercontent.com/65db4b2c68d6e68d0ab68137f478024596ae1805ac708ba2b2b3749e40a0e7aa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f636865766572652f7661722d64756d703f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/65db4b2c68d6e68d0ab68137f478024596ae1805ac708ba2b2b3749e40a0e7aa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f636865766572652f7661722d64756d703f7374796c653d666c61742d737175617265)[![Apache-2.0](https://camo.githubusercontent.com/a471ae28a0a6ff16f9adcf62445f9491c5082b9da4138c705bcf565874551920/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636865766572652f7661722d64756d703f7374796c653d666c61742d737175617265)](LICENSE)[![PHPStan](https://camo.githubusercontent.com/6016298b28550819030c76e9327f62501596a31fd76406695bae2f3d2a1f26a4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230392d626c756576696f6c65743f7374796c653d666c61742d737175617265)](https://phpstan.org/)[![Mutation testing badge](https://camo.githubusercontent.com/4ab2e20c70f0036664cf92339d8d8fa2c389c7b33757f051cb770309c126ea33/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742d7371756172652675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d253246636865766572652532467661722d64756d70253246322e30)](https://dashboard.stryker-mutator.io/reports/github.com/chevere/var-dump/2.0)

[![Quality Gate Status](https://camo.githubusercontent.com/e76352f5428521670dc8016d3fdde1e896094ad3b1104da5d1bbfc81694a4dee/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d636865766572655f7661722d64756d70266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=chevere_var-dump)[![Maintainability Rating](https://camo.githubusercontent.com/46fae2c1a38109f3e12a72a523f3d22e71018a673d22bda3aeca2090d27eee13/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d636865766572655f7661722d64756d70266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/dashboard?id=chevere_var-dump)[![Reliability Rating](https://camo.githubusercontent.com/0922d8b0813235a39b60f1211e59401be2c8dad9fc91a3fd0a33827e90b8a2ba/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d636865766572655f7661722d64756d70266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/dashboard?id=chevere_var-dump)[![Security Rating](https://camo.githubusercontent.com/81c5da29146c5c84b9e065b55e14788f70b9a1c747b7a3389ae2a31670a3719e/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d636865766572655f7661722d64756d70266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/dashboard?id=chevere_var-dump)[![Coverage](https://camo.githubusercontent.com/81a020e6ddd0b0d93c90e46305f1df7919520f011af50515fb13eb668663d07e/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d636865766572655f7661722d64756d70266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=chevere_var-dump)[![Technical Debt](https://camo.githubusercontent.com/641002d450fc14e4af1f0066563754dea72dab3638dc4cb03ab6addf50624824/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d636865766572655f7661722d64756d70266d65747269633d7371616c655f696e646578)](https://sonarcloud.io/dashboard?id=chevere_var-dump)[![CodeFactor](https://camo.githubusercontent.com/5b341b76ac99c6adbc0c3bd3ac8dd4bf7c4dac628d6b4e7c298bff67d74ee397/68747470733a2f2f7777772e636f6465666163746f722e696f2f7265706f7369746f72792f6769746875622f636865766572652f7661722d64756d702f6261646765)](https://www.codefactor.io/repository/github/chevere/var-dump)

Summary
-------

[](#summary)

Multi-purpose colorful modern alternative to [var\_dump](https://www.php.net/manual/function.var-dump.php). It's a PHP library that provides an alternative to `var_dump` and `dump` functions. It's designed to be used in development environments to help you debug your code.

Features
--------

[](#features)

- Colorful output with automatic light/dark modes
- HTML, Console, and Plain text output
- No JavaScript required
- Displays modifiers, types, values, references, and more
- Recursive detection
- Foldable arrays and objects with indentation display
- Lightweight codebase

Installing
----------

[](#installing)

VarDump is available through [Packagist](https://packagist.org/packages/chevere/var-dump) and the repository source is at [chevere/var-dump](https://github.com/chevere/var-dump).

Run the following command to install VarDump as a development dependency of your project:

```
composer require --dev chevere/var-dump
```

Quick start
-----------

[](#quick-start)

- Use `vd` to dump information about any variable (replaces `var_dump` and `dump`)
- Use `vdd` to do the same as `vd` and `die(0)` (replaces `dd`)

```
vd($myVar); // var dump
vdd($myVar); // var dump and die
```

Demo
----

[](#demo)

[![HTML demo dark](demo/demo-dark.png)](demo/demo-dark.png)

[![HTML demo light](demo/demo-light.png)](demo/demo-light.png)

- [HTML](https://chevere.github.io/var-dump/demo/output/html.html)
- [Plain text](https://chevere.github.io/var-dump/demo/output/plain.txt)
- [Console (asciinema)](https://asciinema.org/a/496889)

Documentation
-------------

[](#documentation)

Documentation is available at [chevere.org](https://chevere.org/packages/var-dump).

License
-------

[](#license)

Copyright [Rodolfo Berrios A.](https://rodolfoberrios.com/)

Chevere is licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for the full license text.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance78

Regular maintenance activity

Popularity39

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity70

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

Recently: every ~27 days

Total

41

Last Release

110d ago

Major Versions

0.9.0 → 1.0.02024-01-09

1.0.x-dev → 2.0.02024-06-03

### Community

Maintainers

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

---

Top Contributors

[![rodber](https://avatars.githubusercontent.com/u/20590102?v=4)](https://github.com/rodber "rodber (160 commits)")

---

Tags

cheverephpvar\_dumpddchevere

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/chevere-var-dump/health.svg)

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

###  Alternatives

[chevere/parameter

Dynamic parameter-argument validation for PHP with rich type constraints, attributes, and schema introspection.

1027.1k23](/packages/chevere-parameter)[thejano/laravel-domain-driven-design

Helps to use domain driven design within laravel

15424.8k](/packages/thejano-laravel-domain-driven-design)[chevere/workflow

Declarative workflow engine for PHP with automatic dependency resolution, sync/async job execution, and type-safe response chaining.

1702.0k2](/packages/chevere-workflow)[xrdebug/php

PHP client library for xrDebug

23823.2k3](/packages/xrdebug-php)

PHPackages © 2026

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