A module to allow easy installation of FirePHP in Silverstripe. Adapted from here: http://www.sspaste.com/paste/show/4e3bd4a2a1fae
- SilverStripe 2.4 (probably also works with previous versions, but this has not been tested)
- FirePHP PEAR module (optional, otherwise an included fallback will be used)
- Download the source code from here https://github.com/nikrolls/ss_firephp/, or require nikrolls/ss_firephp in your composer.json file.
- Extract the downloaded archive into your site root, or a subfolder that has its own
_config.php
. - Run
/dev/build?flush=all
to regenerate the manifest and detect the module.
For automatic Dev/Test/Live detection, please ensure that the root folder sorts alphanumerically after mysite; if not, you will have to enable FirePHP yourself using:
FB::setEnabled(true);
You can use SS_FirePHP the same way you would use standalone FirePHP, as documented at FirePHP HQ.
You can use the Firefox FireBug extension or FirePHP4Chrome to view the output.