AEForge dumper component. Providing better dump function for any PHP variable
To install via composer:
composer require aeforge/dumper
To clone the project:
https://github.com/aeforge/Dumper.git
use Aeforge\Dumper\Dumper;
// This will make it so the script will not exit after dumping the data
$dumper = new Dumper($_SERVER);
$dumper->dump();
use Aeforge\Dumper\Dumper;
// This will make it so the script will exit after dumping data
$dumper = new Dumper($_SERVER);
$dumper->dumpAndDie();
The following are functions that can be accessed globaly and will do the same as Calling the dumper class
dd() //Will dump and die
dump() //Will dump only without exiting