1. Go to this page and download the library: Download pdeans/utilities-vardumpers library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pdeans / utilities-vardumpers example snippets
use pdeans\Utilities\VarDumper;
VarDumper::dp($value);
// Add label to output
VarDumper::dp($value, 'Label');
// Optionally use global helper function
dp($value)
dp($value, 'value');
use pdeans\Utilities\VarDumper;
VarDumper::dpx($value);
// Add label to output
VarDumper::dpx($value, 'Label');
// Optionally use global helper function
dpx($value)
dpx($value, 'value');
use pdeans\Utilities\VarDumper;
VarDumper::vd($value);
// Add label to output
VarDumper::vd($value, 'Label');
// Optionally use global helper function
vd($value)
vd($value, 'value');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.