PHPackages                             oodle/krumo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. oodle/krumo

Abandoned → [mmucklo/krumo](/?search=mmucklo%2Fkrumo)Library[Debugging &amp; Profiling](/categories/debugging)

oodle/krumo
===========

KRUMO - version 2.0 of print\_r(); and var\_dump(); (with new updates)

v0.5.0(12y ago)13111.7k↓30.4%32LGPLPHPPHP &gt;=5.2.17

Since Apr 25Pushed 11y ago2 watchersCompare

[ Source](https://github.com/oodle/krumo)[ Packagist](https://packagist.org/packages/oodle/krumo)[ RSS](/packages/oodle-krumo/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (17)Used By (2)

Krumo
=====

[](#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.

Installation:
-------------

[](#installation)

Put this line in your header.php or global project include:

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

**or**

Add this line to your composer.json "require" section:

### composer.json

[](#composerjson)

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

Usage:
------

[](#usage)

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

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

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~20 days

Recently: every ~37 days

Total

16

Last Release

4510d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f05a1e018633083f2618b189473318e14d14d921216188d36c52e582244340c7?d=identicon)[mmucklo](/maintainers/mmucklo)

---

Top Contributors

[![scottchiefbaker](https://avatars.githubusercontent.com/u/3429760?v=4)](https://github.com/scottchiefbaker "scottchiefbaker (112 commits)")[![mmucklo](https://avatars.githubusercontent.com/u/245122?v=4)](https://github.com/mmucklo "mmucklo (28 commits)")[![bobdenotter](https://avatars.githubusercontent.com/u/1833361?v=4)](https://github.com/bobdenotter "bobdenotter (16 commits)")[![AlmogBaku](https://avatars.githubusercontent.com/u/98982?v=4)](https://github.com/AlmogBaku "AlmogBaku (2 commits)")[![cbodin](https://avatars.githubusercontent.com/u/220255?v=4)](https://github.com/cbodin "cbodin (2 commits)")

---

Tags

debugdebuggingprettyprintprint\_rvar\_dumpkrumo

### Embed Badge

![Health badge](/badges/oodle-krumo/health.svg)

```
[![Health](https://phpackages.com/badges/oodle-krumo/health.svg)](https://phpackages.com/packages/oodle-krumo)
```

###  Alternatives

[mmucklo/krumo

KRUMO - version 2.0 of print\_r(); and var\_dump(); (with new updates)

94171.6k6](/packages/mmucklo-krumo)[jbzoo/jbdump

Script for debug and dump PHP variables and other stuff. This tool is a nice replacement for print\_r() and var\_dump() functions.

211.1M3](/packages/jbzoo-jbdump)[leeoniya/dump-r

a cleaner, leaner mix of print\_r() and var\_dump()

12368.9k5](/packages/leeoniya-dump-r)[kktsvetkov/krumo

Krumo is a debugging tool, which displays structured information about any PHP variable. It is a nice replacement for print\_r() or var\_dump() which are used by a lot of PHP developers.

8362.2k](/packages/kktsvetkov-krumo)[ivoba/stop

nice output for debug functions for PHP 5.3

1042.4k5](/packages/ivoba-stop)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
