PHPackages                             yuseferi/zhilify - 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. yuseferi/zhilify

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

yuseferi/zhilify
================

Zhilify is a tool for debugging with dump variables, arrays and objects in a pretty way.

v1.0(6y ago)116LGPLPHPPHP &gt;=5.2.17

Since Jan 14Pushed 6y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (4)Used By (0)

Zhilify
=======

[](#zhilify)

Zhilify is a beautiful replacement for `print_r()` and `var_dump()` for PHP developer to show variables and classed in better view.

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

[](#installation)

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

```
include("/patth/zhilify/class.zhilify.php");
```

**or**

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

### composer.json

[](#composerjson)

```
{
	"require": {
		"yuseferi/zhilify": "*"
	}
}
```

Usage:
------

[](#usage)

After Zhilify is loaded you have access to the global Zhilify functions: `zhilify()`, `zh()`, and `zhd()`.

```
$arr = array(
	'first' => 'Ali',
	'last'  => 'Tajikofsky',
	'skills' => array('tabaify','RPG-7','django','linux'),
	'hobbies' => array('game' => 'cod4', 'instrument' => 'electric-guitar'),
);

// Dump out the array, short and long versions
zh($arr);
zhilify($arr);

// Output the array and then exit();
zhd($arr);

// Output the Expanded array and then exit();
zhd($arr,'e'); // or zhd($arr,'expand');

// Output the array with all nodes expanded
zh($arr, 'e');  // or zh($arr, 'expand');

// Output  sorted the array with all nodes expanded
zhs($arr);  // s stand for sorted

// The object based method
$zhilify = new Zhilify;
$zhilify->dump($arr);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~740 days

Total

2

Last Release

2305d ago

Major Versions

0.1.0 → v1.02020-01-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b14bd531ff132808fda9211617694b92711f10796730c92a23691fe525ba203?d=identicon)[yuseferi](/maintainers/yuseferi)

---

Top Contributors

[![yuseferi](https://avatars.githubusercontent.com/u/1736832?v=4)](https://github.com/yuseferi "yuseferi (2 commits)")

---

Tags

phpdebugdebuggingprettyprintprint\_rvar\_dumpzhilify

### Embed Badge

![Health badge](/badges/yuseferi-zhilify/health.svg)

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

###  Alternatives

[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)[mmucklo/krumo

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

89168.0k6](/packages/mmucklo-krumo)[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)[php-sage/sage

☯ Insightful PHP debugging assistant.

5639.7k5](/packages/php-sage-sage)

PHPackages © 2026

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