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.
How do you install this for Zend Framework 2?
There is an installation guide inside the documentation that suggests using composer:
Installation
The recommended way to install Ladybug is through Composer.
Download the composer binary:
wget http://getcomposer.org/composer.phar # or curl -O http://getcomposer.org/composer.phar
Now, install Ladybug with Composer:
composer.phar require raulfraile/ladybug
So maybe you could simply try that?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.