ymm1x / xdump
A variable dumper utility provides readability and flexibility instead of var_dump()
1.0.8
2019-09-20 03:43 UTC
Requires
- php: ^7.1
Requires (Dev)
- phpunit/phpunit: ^7.4
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)
- Usage:
- 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
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.