A meta parser for extracting micro information out of web documents, currently supporting Microformats 1+2, HTML Microdata, RDFa Lite 1.1, JSON-LD and Link Types
Please find the project documentation in the
doc directory. We recommend reading it via Read the Docs.
This library requires PHP >=5.6 or later. I recommend using the latest available version of PHP as a matter of principle. It has no userland dependencies. It's installable and autoloadable via Composer as jkphl/micrometa.
composer require jkphl/micrometa
Alternatively, download a release or clone this repository, then require or include its
To run the unit tests at the command line, issue
composer install and then
phpunit at the package root. This requires Composer to be available as
composer, and PHPUnit to be available as
This library attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request.
Found a bug or have a feature request? Please have a look at the known issues first and open a new issue if necessary. Please see contributing and conduct for details.
If you discover any security related issues, please email firstname.lastname@example.org instead of using the issue tracker.
Copyright © 2017 Joschi Kuphal / email@example.com. Licensed under the terms of the MIT license.