Using PHP_Parser as PHP syntax parsing backend, written in pure PHP. The generated ctags index file contains scope and access information about class's methods and properties.
curl -Ss http://vim-php.com/phpctags/install/phpctags.phar > phpctags php ./phpctags
We currently only support building PHAR executable for *nix like platform which provides
makeutility. If you are interested in building an executable for other platform, especially for Windows, please help yourself out. It should be easy though (Apologize for not being able to provide any help for this, I am really not a Windows guy), it also would be great if someone could provide a patch for this.
Installation is simple, make sure you have PHP's PHAR extension enabled, then
make in the root directory of the source, you will get a
PHAR executable, add it to your
$PATH, then you can invoke
directly from anywhere.
See phpctags on packagist for more details.
- PHP CLI 5.3+