misterion / pinba-phpdoc

@phpdoc extension php for IDE autocomplete https://github.com/tony2001/pinba_extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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);

Example of use

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"

About

@phpdoc extension php for IDE autocomplete https://github.com/tony2001/pinba_extension

License:GNU Lesser General Public License v3.0


Languages

Language:PHP 100.0%