misterion/pinba-phpdoc

@phpdoc extension php pinba for IDE autocomplete

dev-master / 1.0.x-dev 2015-10-15 06:49 UTC

This package is not auto-updated.

Last update: 2024-10-26 14:34:15 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);

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"