nikrolls / ss_firephp
A module to allow easy installation of FirePHP in Silverstripe.
Installs: 56
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 1
Type:silverstripe-module
Requires
- silverstripe/framework: >=2.4
This package is auto-updated.
Last update: 2024-10-29 03:48:16 UTC
README
A module to allow easy installation of FirePHP in Silverstripe. Adapted from here: http://www.sspaste.com/paste/show/4e3bd4a2a1fae
Requirements
- 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)
Installation
- 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);
Usage
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.