afragen / wordpress-plugin-readme-parser
A clone of the current WordPress.org Plugin Readme Parser, class-parser.php
Installs: 1 142
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: >=5.4
- erusev/parsedown: ^1.7
This package is auto-updated.
Last update: 2021-01-11 22:07:35 UTC
README
A scrape of the current WordPress.org Plugin Readme Parser
In my GitHub 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
.