taeon / php-object-explorer
Interactive PHP object explorer
0.4
2017-07-29 14:30 UTC
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2025-01-23 07:12:27 UTC
README
An easier way to examine the properties of objects in PHP
Installation
Either download the ZIP file and include the autoloader.php
file, or you can use composer:
composer require taeon/php-object-explorer
Usage
Pass the data that you want to explore into a new Explorer object, and then render the result:
$explorer = new \PHPObjectExplorer\Explorer($data); echo( $explorer->Render() );
...that's it.
The output is 'collapsed' by default. Click on any property to expand it.