consatan/phpctags

There is no license information available for the latest version (v0.6.1) of this package.

An enhanced php ctags index generator. Forked from vim-php/phpctags

v0.6.1 2017-05-27 16:42 UTC

This package is auto-updated.

Last update: 2024-04-26 03:16:55 UTC


README

Master Build Status

An enhanced php ctags index file generator compatible with http://ctags.sourceforge.net/FORMAT.

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.

This tool was originally developed to enhance the PHP syntax outline surport for vim tagbar plugin. The enhanced functionality has been included into an addon plugin for tagbar as tagbar-phpctags.

Enjoy!

Installation

Download

curl -Ss http://vim-php.com/phpctags/install/phpctags.phar > phpctags
php ./phpctags

Build

We currently only support building PHAR executable for *nix like platform which provides make utility. 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 just run make in the root directory of the source, you will get a phpctags PHAR executable, add it to your $PATH, then you can invoke phpctags directly from anywhere.

See phpctags on packagist for more details.

Requirements

Acknowledgements