misterion / pinba-phpdoc
@phpdoc extension php pinba for IDE autocomplete
Installs: 48 029
Dependents: 3
Suggesters: 1
Security: 0
Stars: 10
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: >=5.0.0
This package is not auto-updated.
Last update: 2024-12-21 15:13:53 UTC
README
You need to add the path to a class of global include path. After that, your IDE, when IDE will display a hint on each pinba methods you write.
For example:
$timer = pinba_timer_start(array('tag' => 'value'), array('customData', 1, 2));
....
pinba_timer_stop($timer);
Install
-
Install php pinba extension
-
The simpliest way to install and use pinba-phpdoc is to use Composer, as there is a package on Packagist. Just add this to your project composer.json file :
{ "require": { "misterion/pinba-phpdoc": "*" }, "minimum-stability": "dev" }
-
Or direct download pinba-phpdoc
Setup in IDE PhpStorm
Menu "File" -> "Settings" -> "PHP" -> Select path to folder "pinba-phpdoc"
Setup in IDE NetBeans
- Right click your project -> "Properties"
- Select the "PHP Include Path" category
- Click "Add Folder..."
- Select your checkout of pinba-phpdoc
- Click "Open"
- Click "OK"