print_r() and var_dump() alternative
Posted: Sat Jan 10, 2015 12:57 am
Hey guys,
I wrote a debugging tool for myself that's a drop-in replacement for print_r() and var_dump() functions. It's called dump_r() and started out as a single file, but has evolved into a structured, minimalist and extendable dumper. It can be used via a simple 'require' or through Composer. If anyone's interested in the full docs, please visit the Github repo's home page. Below is a screenshot of the output that shows off a lot of its features. Pull requests and additional CSS themes are always welcome. Hope someone finds it useful.
cheers!
repo & docs: https://github.com/leeoniya/dump_r.php
live demo: http://o-0.me/dump_r/
composer: https://packagist.org/packages/leeoniya/dump-r
sample output:

I wrote a debugging tool for myself that's a drop-in replacement for print_r() and var_dump() functions. It's called dump_r() and started out as a single file, but has evolved into a structured, minimalist and extendable dumper. It can be used via a simple 'require' or through Composer. If anyone's interested in the full docs, please visit the Github repo's home page. Below is a screenshot of the output that shows off a lot of its features. Pull requests and additional CSS themes are always welcome. Hope someone finds it useful.
cheers!
repo & docs: https://github.com/leeoniya/dump_r.php
live demo: http://o-0.me/dump_r/
composer: https://packagist.org/packages/leeoniya/dump-r
sample output:
