initphp/var-dumper

This package is abandoned and no longer maintained. The author suggests using the symfony/var-dumper package instead.

VarDumper (DEPRECATED — use symfony/var-dumper, the de facto standard PHP dumper)

Maintainers

Package info

github.com/InitPHP/VarDumper

pkg:composer/initphp/var-dumper

Statistics

Installs: 22

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

0.1.2 2026-05-24 09:08 UTC

This package is auto-updated.

Last update: 2026-05-24 09:09:02 UTC


README

⚠️ DEPRECATED — Use symfony/var-dumper instead

symfony/var-dumper is 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.x stable line and offered a minimal subset of those features. It is no longer maintained.

Migration

Migration is a dependency swap with no source changessymfony/var-dumper registers the same dump() and dd() global functions:

- "initphp/var-dumper": "^0.1",
+ "symfony/var-dumper": "^7.0"

Your existing dump($value) and dd($value) call sites continue to work unchanged.

This repository is kept read-only for historical reference. Composer will surface this package as abandoned on composer require, composer update, and composer outdated, and suggest symfony/var-dumper as 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