initphp / var-dumper
VarDumper (DEPRECATED — use symfony/var-dumper, the de facto standard PHP dumper)
Requires
- php: >=7.2
This package is auto-updated.
Last update: 2026-05-24 09:09:02 UTC
README
⚠️ DEPRECATED — Use
symfony/var-dumperinstead
symfony/var-dumperis the de facto standard variable dumper for PHP — it ships a richer feature set (dump server, CLI integration, custom casters, max-depth/max-items control, deep object graph rendering) and is actively maintained by the Symfony team.This package never left the
0.xstable line and offered a minimal subset of those features. It is no longer maintained.Migration
Migration is a dependency swap with no source changes —
symfony/var-dumperregisters the samedump()anddd()global functions:- "initphp/var-dumper": "^0.1", + "symfony/var-dumper": "^7.0"Your existing
dump($value)anddd($value)call sites continue to work unchanged.This repository is kept read-only for historical reference. Composer will surface this package as
abandonedoncomposer require,composer update, andcomposer outdated, and suggestsymfony/var-dumperas the replacement.
Installation
composer require initphp/var-dumper
or included src/Init.php.
Usage
dump()
$obj = new stdClass; $obj->pi = 3.14; dump($obj);
dd()
Dump and die
$var = 'xml'; dd($var);
TO-DO
- Coloring of codes will be made more understandable.
License
Copyright © 2022 MIT License