afragen/wordpress-plugin-readme-parser

A clone of the current WordPress.org Plugin Readme Parser, class-parser.php

dev-master 2024-04-15 15:05 UTC

This package is auto-updated.

Last update: 2024-04-15 15:05:57 UTC


README

A scrape of the current WordPress.org Plugin Readme Parser

In my Git Updater plugin I use the WP.org Plugin Directory readme parser. I created this library to allow me to more easily include the class-parser.php for my project by using composer.

I will try to keep this as up-to-date as possible.

The index.php file, when run locally, will update the class-parser.php file with the most current version in meta.trac.wordpress.org.

Usage

composer require afragen/wordpress-plugin-readme-parser:dev-master

class-parser.php uses Michelf’s Markdown_Extra but I use a more lightweight markdown parser, erusev’s Parsedown. Parsedown is required in this composer.json.