ymm1x/xdump

A variable dumper utility provides readability and flexibility instead of var_dump()

Maintainers

Details

github.com/ymm1x/xdump

Source

Issues

Installs: 135

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/ymm1x/xdump

1.0.8 2019-09-20 03:43 UTC

This package is auto-updated.

Last update: 2025-10-20 16:32:31 UTC


README

This variable dumper utility provides readability and flexibility instead of var_dump().

  • Shorthand function will be declared just by installing the package.
    • Usage: d($var1, $var2, $var3)
  • The file name and line number of the dump source are also output together.
  • Decoration with HTML and CSS.
    • When executed from the shell, it is omitted and becomes simple output.

Screen shot

Screen shot

Long vertically output is scrollable.

Installation

composer require ymm1x/xdump

Usage

Variable-length arguments are supported.

Shorthand

d($var1, $var2, $var3);

Longhand

\Ymm1x\XDump\Dumper::dump($var1, $var2, $var3);

License

This library is released under the MIT license.