PHPackages                             ycms/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. ycms/krumo

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

ycms/krumo
==========

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

v0.5.0(12y ago)0122LGPLPHPPHP &gt;=5.2.17

Since Apr 25Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ycms/krumo)[ Packagist](https://packagist.org/packages/ycms/krumo)[ RSS](/packages/ycms-krumo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (17)Used By (0)

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

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

4464d ago

### Community

Maintainers

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

---

Tags

debugdebuggingprettyprintprint\_rvar\_dumpkrumo

### Embed Badge

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

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

###  Alternatives

[mmucklo/krumo

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

89168.0k6](/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.1k5](/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.

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

nice output for debug functions for PHP 5.3

1041.9k5](/packages/ivoba-stop)

PHPackages © 2026

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