rmccue/wp-parser

This package is abandoned and no longer maintained. The author suggests using the wordpress/phpdoc-parser package instead.

Static code parser for WordPress source.

Maintainers

👁 rmccue

Package info

github.com/WordPress/phpdoc-parser

Type:wordpress-plugin

pkg:composer/rmccue/wp-parser

Statistics

Installs: 652

Dependents: 0

Suggesters: 0

Stars: 241

Open Issues: 65

dev-master 2024-01-19 05:21 UTC

Requires

Suggests

None

Provides

None

Conflicts

None

Replaces

None

GPL-2.0-or-later 7fc2227d2d4fb73f9f0b6e233413f3f9f9840e80

wordpress


README

WP-Parser is the parser for creating the new code reference at developer.wordpress.org. It parses the inline documentation and produces custom post type entries in WordPress.

We are currently looking for contributors to help us complete the work on the parser.

There is a guide to developing for developer.wordpress.org in the WordPress documentation handbook

Requirements

Clone the repository into your WordPress plugins directory:

git clone https://github.com/WordPress/phpdoc-parser.git

After that install the dependencies using composer in the parser directory:

composer install

Running

Activate the plugin first:

wp plugin activate phpdoc-parser

In your site's directory:

wp parser create /path/to/source/code --user=<id|login>