This package allow you to dump data in new ways. It's based on symfony serializer and dumper.
Currently there is only two functions One to display the dump in a small window on the page
the parameters are :
- array|object : data to print
- bool : should hide by default the dump (display it in line on the bottom of the page)
- string : name of the dump (it should display in the titlebar of the dump)
<?php
pretty_dump($data, true, 'name of dump');
?>
the parameters are :
- array|object : data to print
- string : name the group log
- string : type of log you wanna use see MDN doc for console
<?php
console_dump($var, 'log for item x', 'log');
?>