PHPackages                             consatan/phpctags - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. consatan/phpctags

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

consatan/phpctags
=================

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

v0.6.1(9y ago)029PHPPHP &gt;=5.6

Since Aug 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/consatan/phpctags)[ Packagist](https://packagist.org/packages/consatan/phpctags)[ RSS](/packages/consatan-phpctags/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (11)Used By (0)

phpctags
========

[](#phpctags)

Master [![Build Status](https://camo.githubusercontent.com/26a266666051130a95c4914c8b9e7a3beefe648f5f67ca152de4dfb2cdb7d8ce/68747470733a2f2f7472617669732d63692e6f72672f76696d2d7068702f70687063746167732e737667)](https://travis-ci.org/vim-php/phpctags?branch=master)

An enhanced php [ctags](http://ctags.sourceforge.net/) index file generator compatible with .

Using [PHP\_Parser](https://github.com/nikic/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](http://majutsushi.github.com/tagbar/) plugin. The enhanced functionality has been included into an addon plugin for tagbar as [tagbar-phpctags](https://github.com/techlivezheng/tagbar-phpctags).

Enjoy!

Installation
------------

[](#installation)

Download
--------

[](#download)

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

```

Build
-----

[](#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](http://packagist.org/packages/techlivezheng/phpctags)for more details.

Requirements
------------

[](#requirements)

- PHP CLI 5.3+
- [PHP-Parser](https://github.com/nikic/PHP-Parser)

Acknowledgements
----------------

[](#acknowledgements)

- [Snapi](https://github.com/sanpii) for composer support.
- [DeMarko](https://github.com/DeMarko) for memory limit support.
- [Sander Marechal](https://github.com/sandermarechal) for improve console support
- [Mark Wu](https://github.com/markwu) for building a stand-alone PHAR executable

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~192 days

Recently: every ~358 days

Total

10

Last Release

3321d ago

PHP version history (2 changes)v0.2PHP &gt;=5.3

v0.6.1PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1174105?v=4)[Chopin Ngo](/maintainers/consatan)[@consatan](https://github.com/consatan)

---

Top Contributors

[![weynhamz](https://avatars.githubusercontent.com/u/816673?v=4)](https://github.com/weynhamz "weynhamz (142 commits)")[![markwu](https://avatars.githubusercontent.com/u/196861?v=4)](https://github.com/markwu "markwu (14 commits)")[![tomphp](https://avatars.githubusercontent.com/u/1959183?v=4)](https://github.com/tomphp "tomphp (13 commits)")[![sandermarechal](https://avatars.githubusercontent.com/u/145240?v=4)](https://github.com/sandermarechal "sandermarechal (6 commits)")[![emmetog](https://avatars.githubusercontent.com/u/1182891?v=4)](https://github.com/emmetog "emmetog (4 commits)")[![gianarb](https://avatars.githubusercontent.com/u/1630267?v=4)](https://github.com/gianarb "gianarb (4 commits)")[![dxops](https://avatars.githubusercontent.com/u/1804871?v=4)](https://github.com/dxops "dxops (2 commits)")[![lukepass](https://avatars.githubusercontent.com/u/6429961?v=4)](https://github.com/lukepass "lukepass (2 commits)")[![sanpii](https://avatars.githubusercontent.com/u/113045?v=4)](https://github.com/sanpii "sanpii (2 commits)")[![mr-russ](https://avatars.githubusercontent.com/u/4276703?v=4)](https://github.com/mr-russ "mr-russ (2 commits)")[![xcwen](https://avatars.githubusercontent.com/u/1539162?v=4)](https://github.com/xcwen "xcwen (1 commits)")[![consatan](https://avatars.githubusercontent.com/u/1174105?v=4)](https://github.com/consatan "consatan (1 commits)")[![fntlnz](https://avatars.githubusercontent.com/u/3083633?v=4)](https://github.com/fntlnz "fntlnz (1 commits)")[![mcuadros](https://avatars.githubusercontent.com/u/1573114?v=4)](https://github.com/mcuadros "mcuadros (1 commits)")[![mirzalazuardi](https://avatars.githubusercontent.com/u/3162927?v=4)](https://github.com/mirzalazuardi "mirzalazuardi (1 commits)")[![musou1500](https://avatars.githubusercontent.com/u/5037195?v=4)](https://github.com/musou1500 "musou1500 (1 commits)")[![nicoder](https://avatars.githubusercontent.com/u/365210?v=4)](https://github.com/nicoder "nicoder (1 commits)")[![Rican7](https://avatars.githubusercontent.com/u/742384?v=4)](https://github.com/Rican7 "Rican7 (1 commits)")[![apeschar](https://avatars.githubusercontent.com/u/122977?v=4)](https://github.com/apeschar "apeschar (1 commits)")

---

Tags

ctags

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/consatan-phpctags/health.svg)

```
[![Health](https://phpackages.com/badges/consatan-phpctags/health.svg)](https://phpackages.com/packages/consatan-phpctags)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[roave/backward-compatibility-check

Tool to compare two revisions of a public API to check for BC breaks

5973.6M93](/packages/roave-backward-compatibility-check)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4753.9M23](/packages/coenjacobs-mozart)[v.chetkov/php-clean-architecture

PHP Clean Architecture

14659.9k](/packages/vchetkov-php-clean-architecture)[phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

12524.8M137](/packages/phpdocumentor-reflection)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
