PHPackages                             johnbillion/wp-parser-lib - 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. johnbillion/wp-parser-lib

Abandoned → [wp-hooks/generator](/?search=wp-hooks%2Fgenerator)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

johnbillion/wp-parser-lib
=========================

File scanning and hook parsing functionality from WP Parser.

1.3.0(4y ago)16266.3k↓50%GPL-2.0-or-laterPHPPHP &gt;=5.4

Since Nov 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/wp-hooks/parser)[ Packagist](https://packagist.org/packages/johnbillion/wp-parser-lib)[ Docs](https://github.com/johnbillion/wp-parser-lib)[ RSS](/packages/johnbillion-wp-parser-lib/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

WP Parser Lib
=============

[](#wp-parser-lib)

This package contains the file scanning and hook parsing functionality from [WP Parser](https://github.com/WordPress/phpdoc-parser).

I did not write this code. I just abstracted it so it can be used independently of the WP Parser WordPress plugin.

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

[](#requirements)

- PHP 5.4+
- [Composer](https://getcomposer.org/)

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

[](#installation)

```
composer require wp-hooks/parser
```

Usage
-----

[](#usage)

```
$files  = \WP_Parser\get_wp_files( $path );
$output = \WP_Parser\parse_files( $files, $path );
```

See [wp-hooks/generator](https://github.com/wp-hooks/generator) as a full usage example.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~264 days

Total

4

Last Release

1572d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/208434?v=4)[John Blackbourn](/maintainers/johnbillion)[@johnbillion](https://github.com/johnbillion)

---

Top Contributors

[![Rarst](https://avatars.githubusercontent.com/u/737584?v=4)](https://github.com/Rarst "Rarst (134 commits)")[![JDGrimes](https://avatars.githubusercontent.com/u/4005415?v=4)](https://github.com/JDGrimes "JDGrimes (67 commits)")[![rmccue](https://avatars.githubusercontent.com/u/21655?v=4)](https://github.com/rmccue "rmccue (66 commits)")[![paulgibbs](https://avatars.githubusercontent.com/u/1275914?v=4)](https://github.com/paulgibbs "paulgibbs (38 commits)")[![atimmer](https://avatars.githubusercontent.com/u/584693?v=4)](https://github.com/atimmer "atimmer (27 commits)")[![joncave](https://avatars.githubusercontent.com/u/621103?v=4)](https://github.com/joncave "joncave (21 commits)")[![nacin](https://avatars.githubusercontent.com/u/272784?v=4)](https://github.com/nacin "nacin (14 commits)")[![johnbillion](https://avatars.githubusercontent.com/u/208434?v=4)](https://github.com/johnbillion "johnbillion (10 commits)")[![coffee2code](https://avatars.githubusercontent.com/u/515778?v=4)](https://github.com/coffee2code "coffee2code (9 commits)")[![lkwdwrd](https://avatars.githubusercontent.com/u/1895738?v=4)](https://github.com/lkwdwrd "lkwdwrd (6 commits)")[![keesiemeijer](https://avatars.githubusercontent.com/u/1436618?v=4)](https://github.com/keesiemeijer "keesiemeijer (6 commits)")[![ntwb](https://avatars.githubusercontent.com/u/1016458?v=4)](https://github.com/ntwb "ntwb (5 commits)")[![DrewAPicture](https://avatars.githubusercontent.com/u/995399?v=4)](https://github.com/DrewAPicture "DrewAPicture (5 commits)")[![peterchester](https://avatars.githubusercontent.com/u/1556239?v=4)](https://github.com/peterchester "peterchester (5 commits)")[![smckeown](https://avatars.githubusercontent.com/u/1101303?v=4)](https://github.com/smckeown "smckeown (4 commits)")[![GaryJones](https://avatars.githubusercontent.com/u/88371?v=4)](https://github.com/GaryJones "GaryJones (4 commits)")[![pdclark](https://avatars.githubusercontent.com/u/126889?v=4)](https://github.com/pdclark "pdclark (3 commits)")[![Otto42](https://avatars.githubusercontent.com/u/889736?v=4)](https://github.com/Otto42 "Otto42 (3 commits)")[![stephenharris](https://avatars.githubusercontent.com/u/3255034?v=4)](https://github.com/stephenharris "stephenharris (2 commits)")[![lucatume](https://avatars.githubusercontent.com/u/2749650?v=4)](https://github.com/lucatume "lucatume (2 commits)")

---

Tags

wordpress

### Embed Badge

![Health badge](/badges/johnbillion-wp-parser-lib/health.svg)

```
[![Health](https://phpackages.com/badges/johnbillion-wp-parser-lib/health.svg)](https://phpackages.com/packages/johnbillion-wp-parser-lib)
```

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k441.8k2](/packages/roots-bedrock)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[cedaro/gravity-forms-iframe

Embed a Gravity Form on any site using an iframe.

1563.0k](/packages/cedaro-gravity-forms-iframe)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)

PHPackages © 2026

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