Awesome
Ladybug: PHP 5.3+ Extensible Dumper
Ladybug provides an easy and extensible var_dump
/ print_r
replacement for PHP 5.3+
projects. Any PHP variable, object or resource can be dumped to beautiful representation:
<?php
$var = array(
array(
'name' => 'Raul',
'age' => 29
),
array(
'name' => 'John',
'age' => 27
)
);
ladybug_dump($var)
<img style="border:1px solid #ccc; padding:1px" src="https://github.com/raulfraile/ladybug/raw/master/doc/images/array_modern.png" />
Documentation
Support for other libraries/frameworks
- Symfony 2.x: LadybugBundle.
- Drupal 7x & 8.x: Ladybug module.
Credits
- Raul Fraile (@raulfraile)
- All contributors
License
Ladybug is released under the MIT License. See the bundled LICENSE file for details.