2017 © Pedro Peláez
 

library krumo

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

image

oodle/krumo

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  • Thursday, April 9, 2015
  • by mmucklo
  • Repository
  • 2 Watchers
  • 7 Stars
  • 59,656 Installations
  • PHP
  • 9 Dependents
  • 0 Suggesters
  • 27 Forks
  • 0 Open issues
  • 17 Versions
  • 3 % Grown

The README.md

Krumo

Krumo is a replacement for print_r() and var_dump(). This is an updated/forked version because the SourceForge.net version appears to have been abandonned., (*1)

Installation:

Put this line in your header.php or global project include:, (*2)

include("/path/to/krumo/class.krumo.php");

or, (*3)

Add this line to your composer.json "require" section:, (*4)

composer.json

{
    "require": {
        "oodle/krumo": "*"
    }
}

Usage:

After Krumo is loaded you have access to the global Krumo functions: krumo(), k(), and kd()., (*5)

$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);

The Versions

09/04 2015

dev-master

9999999-dev

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

26/02 2014

v0.5.0

0.5.0.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

01/11 2013

v0.4.4

0.4.4.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

10/10 2013

v0.4.3

0.4.3.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

30/09 2013

v0.4.2

0.4.2.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

29/09 2013

v0.4.1

0.4.1.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

29/09 2013

v0.4.0

0.4.0.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

27/09 2013

v0.3.2

0.3.2.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

26/09 2013

v0.3.1

0.3.1.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

10/09 2013

v0.3.0

0.3.0.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

09/09 2013

v0.2.8

0.2.8.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

07/09 2013

v0.2.7

0.2.7.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

07/09 2013

v0.2.6

0.2.6.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

07/09 2013

v0.2.5

0.2.5.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

07/09 2013

v0.2.4

0.2.4.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

29/06 2013

v0.2.3

0.2.3.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo

25/04 2013

v0.2.2

0.2.2.0

KRUMO - version 2.0 of print_r(); and var_dump(); (with new updates)

  Sources   Download

LGPL

The Requires

  • php >=5.2.17

 

by Kaloyan K. Tsvetkov
by Matthew J. Mucklo
by Stefan Thomas

debug debugging print print_r var_dump pretty krumo