PHPackages                             printo/printo - 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. printo/printo

Abandoned → [koriym/printo](/?search=koriym%2Fprinto)Library[Debugging &amp; Profiling](/categories/debugging)

printo/printo
=============

An object graph visualizer.

1.1.0(4mo ago)1422.4k13MITPHPPHP &gt;=5.4.0CI passing

Since Feb 19Pushed 4mo ago10 watchersCompare

[ Source](https://github.com/koriym/print_o)[ Packagist](https://packagist.org/packages/printo/printo)[ Docs](https://github.com/koriym/print_o)[ RSS](/packages/printo-printo/feed)WikiDiscussions 1.x Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (13)Used By (0)

print\_o
========

[](#print_o)

An object graph visualizer for PHP
----------------------------------

[](#an-object-graph-visualizer-for-php)

**print\_o** visualizes PHP object graphs as interactive diagrams, making it easy to understand complex object relationships in your application.

Features
--------

[](#features)

- Visual representation of object relationships
- Interactive graph with configurable properties
- Support for different visualization ranges (objects only, with properties, or full details)

Quick Start
-----------

[](#quick-start)

```
print_o($object);
```

[![object graph](https://camo.githubusercontent.com/69a0166b4b3a5257eae5956f314de26936528ecc6b49d901f0a7b5417d40144e/687474703a2f2f6b6f7269796d2e6769746875622e696f2f7072696e745f6f2f76312f696d672f6269672e706e67)](https://camo.githubusercontent.com/69a0166b4b3a5257eae5956f314de26936528ecc6b49d901f0a7b5417d40144e/687474703a2f2f6b6f7269796d2e6769746875622e696f2f7072696e745f6f2f76312f696d672f6269672e706e67)

### What is object graph ?

[](#what-is-object-graph-)

> Object-oriented applications contain complex webs of interrelated objects. Objects are linked to each other by one object either owning or containing another object or holding a reference to another object. This web of objects is called an object graph and it is the more abstract structure that can be used in discussing an application's state. - [wikipedia](http://en.wikipedia.org/wiki/Object_graph)

> (JA) オブジェクト指向のアプリケーションは相互に関係のある複雑なオブジェクト網を含んでいます。オブジェクトはあるオブジェクトから所有されているか、他のオブジェクト（またはそのリファレンス）を含んでいるか、そのどちらかでお互いに接続されています。このオブジェクト網をオブジェクトグラフと呼びます。

#### Simple object graph

[](#simple-object-graph)

[![only object](https://camo.githubusercontent.com/93e4cb0578e2e96d0eb28d6b88402891fc1229ddc1aa1d39d3c2fe0a60753a46/687474703a2f2f6b6f7269796d2e6769746875622e696f2f7072696e745f6f2f76312f696d672f6f626a6563742e706e67)](https://camo.githubusercontent.com/93e4cb0578e2e96d0eb28d6b88402891fc1229ddc1aa1d39d3c2fe0a60753a46/687474703a2f2f6b6f7269796d2e6769746875622e696f2f7072696e745f6f2f76312f696d672f6f626a6563742e706e67)

#### With properties

[](#with-properties)

[![+property](https://camo.githubusercontent.com/2a0c858adf2a9fb23fb7b7eba98cb138e2f53b4563edaef1a29bd7a2f5f79bb5/687474703a2f2f6b6f7269796d2e6769746875622e696f2f7072696e745f6f2f76312f696d672f70726f702e706e67)](https://camo.githubusercontent.com/2a0c858adf2a9fb23fb7b7eba98cb138e2f53b4563edaef1a29bd7a2f5f79bb5/687474703a2f2f6b6f7269796d2e6769746875622e696f2f7072696e745f6f2f76312f696d672f70726f702e706e67)

#### Full extract

[](#full-extract)

[![+array](https://camo.githubusercontent.com/f2db4cec6fe517dcf0feae281ec21c0484fccaa05c7a51bedf5ca8dc3a5b9f1c/687474703a2f2f6b6f7269796d2e6769746875622e696f2f7072696e745f6f2f76312f696d672f66756c6c2e706e67)](https://camo.githubusercontent.com/f2db4cec6fe517dcf0feae281ec21c0484fccaa05c7a51bedf5ca8dc3a5b9f1c/687474703a2f2f6b6f7269796d2e6769746875622e696f2f7072696e745f6f2f76312f696d672f66756c6c2e706e67)

### Requirements

[](#requirements)

- PHP 5.4+

### Installation

[](#installation)

```
composer require --dev koriym/printo
```

### Usage

[](#usage)

```
print_o($object);

//or

use Koriym\Printo\Printo;

echo (new Printo($object))
    ->setRange(Printo::RANGE_PROPERTY)
    ->setLinkDistance(130)
    ->setCharge(-500);
```

### Live demo

[](#live-demo)

- [Aura.Framework\_Project](http://koriym.github.io/print_o/v1/libs/aura.framework_project.html) [![github](https://camo.githubusercontent.com/c85614afed3618d4fd6453684aa71846e2a19c16f6dbfab8a5d2c6203708997b/687474703a2f2f6b6f7269796d2e6769746875622e696f2f7072696e745f6f2f696d616765732f67682e706e67)](https://github.com/auraphp/Aura.Framework_Project)
- [BEAR.Sunday](http://koriym.github.io/print_o/v1/libs/bear.sunday.html) [![github](https://camo.githubusercontent.com/c85614afed3618d4fd6453684aa71846e2a19c16f6dbfab8a5d2c6203708997b/687474703a2f2f6b6f7269796d2e6769746875622e696f2f7072696e745f6f2f696d616765732f67682e706e67)](https://github.com/koriym/BEAR.Sunday)

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance78

Regular maintenance activity

Popularity33

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 98.5% 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 ~471 days

Recently: every ~1067 days

Total

11

Last Release

120d ago

Major Versions

0.2.0 → 1.0.0-alpha2014-05-10

### Community

Maintainers

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

---

Top Contributors

[![koriym](https://avatars.githubusercontent.com/u/529021?v=4)](https://github.com/koriym "koriym (130 commits)")[![takahashiyuya](https://avatars.githubusercontent.com/u/1164262?v=4)](https://github.com/takahashiyuya "takahashiyuya (1 commits)")[![XZzYassin](https://avatars.githubusercontent.com/u/4236495?v=4)](https://github.com/XZzYassin "XZzYassin (1 commits)")

---

Tags

debugvar\_dump

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[digitalnature/php-ref

A nicer print\_r/var\_dump alternative for PHP 5.3+

351696.0k13](/packages/digitalnature-php-ref)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[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)[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)[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)

PHPackages © 2026

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