dev-master
9999999-dev http://forp.ioWrapper for forp PHP profiler extension.
MIT
The Requires
- php >=5.3.0
debug memory profiler tool cpu devtool forp
Wrapper for forp PHP profiler extension.
forp-php is a composer package that "simplifies" usage of forp PHP profiler on your application., (*2)
What it does : * it starts forp PHP profiler. * it registers the forp output callback on shutdown of the PHP script. * it selects the most appropriate response to the client., (*3)
Server-side : * forp-PHP-profiler : must be installed on your server, (*4)
Client-side : * forp-chrome : Chrome client for Chrome users, (*5)
OR, (*6)
With $opts :, (*7)
``` php
array(
'no_internals' => 1, // enable/disable collect of PHP internals
'ui_src' => '
Example : ``` php // if($theCurrentRequestCanProfileTheCurrentScript) { $Forp = new Forp\Forp(array( 'ui_src' => '<your forp-ui cdn>', )); $Forp->start(); // }
It can be done in an auto-prepend-file., (*9)
Just add this package to the requires of your project (composer.json
):, (*10)
json
{
"require":{
"aterrien/forp": "dev-master"
}
}
, (*11)
Don't forget to run the install command., (*12)
Wrapper for forp PHP profiler extension.
MIT
debug memory profiler tool cpu devtool forp