Skip to content

An object graph visualizer

License

Notifications You must be signed in to change notification settings

takahashiyuya/print_o

 
 

Repository files navigation

print_o

An object graph visualizer for PHP

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

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

Requirements

  • PHP 5.4+

Usage

print_o() displays information about a object graph and variable in a way that's readable by humans. print_o() also show protected and private properties of objects with PHP 5. Static class members will be shown unlike print_r, var_dump.

<?php
require '/path/to/print_o/src.php';

...
print_o($obj);

Try click, double click, or drag.

Live demo

Dependencies

About

An object graph visualizer

Display mind-map style object graph

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%