1. Go to this page and download the library: Download oodle/krumo 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/ */
oodle / krumo example snippets
$arr = array(
'first' => 'Jason',
'last' => 'Doolis,'
'phone' => array(5032612314,4512392014),
'likes' => array('animal' => 'kitten', 'color' => 'purple'),
);
// Dump out the array, short and long versions
k($arr);
krumo($arr);
// Output the array and then exit();
kd($arr);
// Return the HTML output instead of printing it out
$my_html = krumo($arr, KRUMO_RETURN);
// Output the array with all nodes expanded
krumo($arr, KRUMO_EXPAND_ALL);
// The object based method
$krumo = new Krumo;
$krumo->dump($arr);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.