yiisoft/var-dumper
Enhances functionality of var_dump() and var_export(). It is dealing with recursive references, may highlight syntax and export closures.
1.7.1
1.4M downloads/mo
#3701 most downloaded on Packagist
yiisoft/var-dumper
What this package is like to depend on
Last release 8 months ago
01 Dec 2025
Release timing varies
gaps range from 3 weeks to 2.2 years
Nearly every release is documented
notes for 14 of 14 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
14 releases · first in 2021
1 release in the last 12 months
see the full history below
Release timeline
14 releases · Feb 2021 to Dec 2025
2022
2023
2024
2025
2026
Releases
latest 14-
1.7.101 Dec 2025Release notes
Open source →Release notes
Open source →- Chg #113, #114: Change PHP constraint in
composer.jsonto8.0 - 8.5(@vjik) - Enh #112: Improve resulting HTML of syntax highlighting in
EchoHandler(@vjik)
- Chg #113, #114: Change PHP constraint in
-
1.7.008 Oct 2023Release notes
Open source →- New #94: Add
dumpfunction (@xepozz) - New #95: Add
StreamHandlerandCompositeHandler(@xepozz) - Enh #94: Add a middleware handler to control dumps' output destination (@xepozz)
- New #94: Add
-
1.6.030 Jun 2023Release notes
Open source →- Enh #88: Remove leading spaces in closure dumps (@xepozz)
- Enh #89: Add individual dumps for
DateTimeandDateTimeImmutableobjects (@xepozz)
-
1.5.016 Jan 2023Release notes
Open source →- Chg #81: Allow using yiisoft/arrays ^3.0 (@samdark)
- Enh #76: Add a variable type to output when it can't be exported more (@xepozz)
-
1.4.028 Oct 2022Release notes
Open source →- Enh #74: Add support for integer property names (@xepozz)
- Enh #75: Add method
asPrimitivesthat exports a variable like destructed json (@xepozz)
-
1.3.022 Sep 2022Release notes
Open source →- New #64, #68: Add
VarDumper::asJson()method that provide exporting value as JSON string (@dood-, @xepozz)
- New #64, #68: Add
-
1.2.024 Oct 2021Release notes
Open source →- Enh #59: Add
\Yiisoft\VarDumper\VarDumper::withOffset()to adjust generated code nesting offset (@WinterSilence) - Enh #60: Add support for
yiisoft/arraysversion^2.0(@vjik)
- Enh #59: Add
-
1.1.008 Apr 2021 -
1.0.517 Mar 2021Release notes
Open source →- Bug #53: Fix
\Yiisoft\VarDumper\ClosureExporter::export()method fail when exporting a static method call (@devanych)
- Bug #53: Fix
-
1.0.415 Mar 2021Release notes
Open source →- Bug #51: Add a line break in the
d()anddd()functions for highlight mode (@devanych)
- Bug #51: Add a line break in the
-
1.0.316 Feb 2021Release notes
Open source →- Bug #50: Fix the issue of exporting closures with use long namespace under PHP 7.4 (@devanych)
-
1.0.215 Feb 2021Release notes
Open source →- Bug #49: Fix the issue of exporting closures when using PHP 8 (@devanych)
-
1.0.111 Feb 2021Release notes
Open source →- Bug #48: Remove the unused
objectsproperty from the\Yiisoft\VarDumper\VarDumperclass. (@devanych)
- Bug #48: Remove the unused
-
1.0.010 Feb 2021