Pirate Rogue, Pirate Crew and GitHub Updater

This commit is contained in:
Jan
2019-06-15 16:55:09 +02:00
committed by JanRei
commit 6fb8ec3762
339 changed files with 106604 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# WordPress Plugin Readme Parser
A scrape of the current [WordPress.org Plugin Readme Parser](https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme)
In my [GitHub Updater](https://github.com/afragen/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 [Michelfs Markdown_Extra](https://github.com/michelf/php-markdown) but I use a more lightweight markdown parser, [erusevs Parsedown](https://github.com/erusev/parsedown). Parsedown is required in this `composer.json`.