nikrolls/ss_firephp

A module to allow easy installation of FirePHP in Silverstripe.

Installs: 10

Dependents: 0

Stars: 2

Watchers: 1

Language: PHP

v1.0.3 2013-03-17 21:01 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.