PackageTrack
Sign in Get early access

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
Release Pre-release

Releases

latest 14
  1. 1.7.1 01 Dec 2025
    Release notes
    • Chg #113, #114: Change PHP constraint in composer.json to 8.0 - 8.5 (@vjik)
    • Enh #112: Improve resulting HTML of syntax highlighting in EchoHandler (@vjik)

    Full changelog

    Open source →
    Release notes
    • Chg #113, #114: Change PHP constraint in composer.json to 8.0 - 8.5 (@vjik)
    • Enh #112: Improve resulting HTML of syntax highlighting in EchoHandler (@vjik)
    Open source →
  2. 1.7.0 08 Oct 2023
    Release notes
    • New #94: Add dump function (@xepozz)
    • New #95: Add StreamHandler and CompositeHandler (@xepozz)
    • Enh #94: Add a middleware handler to control dumps' output destination (@xepozz)
    Open source →
    Release notes
    • New #94: Add dump function (@xepozz)
    • New #95: Add StreamHandler and CompositeHandler (@xepozz)
    • Enh #94: Add a middleware handler to control dumps' output destination (@xepozz)
    Open source →
  3. 1.6.0 30 Jun 2023
    Release notes
    • Enh #88: Remove leading spaces in closure dumps (@xepozz)
    • Enh #89: Add individual dumps for DateTime and DateTimeImmutable objects (@xepozz)
    Open source →
    Release notes
    • Enh #88: Remove leading spaces in closure dumps (@xepozz)
    • Enh #89: Add individual dumps for DateTime and DateTimeImmutable objects (@xepozz)
    Open source →
  4. 1.5.0 16 Jan 2023
    Release notes
    • 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)
    Open source →
    Release notes
    • 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)
    Open source →
  5. 1.4.0 28 Oct 2022
    Release notes
    • Enh #74: Add support for integer property names (@xepozz)
    • Enh #75: Add method asPrimitives that exports a variable like destructed json (@xepozz)
    Open source →
    Release notes
    • Enh #74: Add support for integer property names (@xepozz)
    • Enh #75: Add method asPrimitives that exports a variable like destructed json (@xepozz)
    Open source →
  6. 1.3.0 22 Sep 2022
    Release notes
    • New #64, #68: Add VarDumper::asJson() method that provide exporting value as JSON string (@dood-, @xepozz)
    Open source →
  7. 1.2.0 24 Oct 2021
    Release notes
    • Enh #59: Add \Yiisoft\VarDumper\VarDumper::withOffset() to adjust generated code nesting offset (@WinterSilence)
    • Enh #60: Add support for yiisoft/arrays version ^2.0 (@vjik)
    Open source →
  8. 1.1.0 08 Apr 2021
    Release notes
    • Enh #54: Add support for exporting objects with closures (@yiiliveext)
    Open source →
  9. 1.0.5 17 Mar 2021
    Release notes
    • Bug #53: Fix \Yiisoft\VarDumper\ClosureExporter::export() method fail when exporting a static method call (@devanych)
    Open source →
  10. 1.0.4 15 Mar 2021
    Release notes
    • Bug #51: Add a line break in the d() and dd() functions for highlight mode (@devanych)
    Open source →
  11. 1.0.3 16 Feb 2021
    Release notes
    • Bug #50: Fix the issue of exporting closures with use long namespace under PHP 7.4 (@devanych)
    Open source →
  12. 1.0.2 15 Feb 2021
    Release notes
    • Bug #49: Fix the issue of exporting closures when using PHP 8 (@devanych)
    Open source →
  13. 1.0.1 11 Feb 2021
    Release notes
    • Bug #48: Remove the unused objects property from the \Yiisoft\VarDumper\VarDumper class. (@devanych)
    Open source →
  14. 1.0.0 10 Feb 2021
    Release notes

    Initial release.

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive