johnbillion/wp-parser-lib

This package is abandoned and no longer maintained. The author suggests using the wp-hooks/generator package instead.

File scanning and hook parsing functionality from WP Parser.

Installs: 263 011

Dependents: 0

Suggesters: 0

Security: 0

Stars: 16

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/johnbillion/wp-parser-lib

1.3.0 2022-01-27 13:57 UTC

This package is auto-updated.

Last update: 2025-07-24 14:48:35 UTC


README

This package contains the file scanning and hook parsing functionality from WP Parser.

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

Requirements

Installation

composer require wp-hooks/parser

Usage

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

See wp-hooks/generator as a full usage example.