jkphl / micrometa
A meta parser for extracting micro information out of web documents, currently supporting Microformats 1+2, HTML Microdata, RDFa Lite 1.1 and JSON-LD
Installs: 147 475
Dependents: 2
Suggesters: 0
Security: 0
Stars: 114
Watchers: 9
Forks: 39
Open Issues: 11
Requires
- php: >=7.1.3
- ext-dom: *
- jkphl/dom-factory: ^1
- jkphl/rdfa-lite-microdata: ^0.4.4
- league/uri: ^5.0|^6.5
- mf2/mf2: ^0.4
- ml/json-ld: ^1.2
- monolog/monolog: ^1.24 || ^2 || ^3
- psr/cache: ^1.0|^2|^3
- psr/log: ^1.1|^2|^3
- symfony/cache: ^4.0|^5.0|^6.0
Requires (Dev)
- clue/graph-composer: ^1.1
- mf2/tests: @dev
- php-coveralls/php-coveralls: ^2.1
- phpunit/phpunit: ^7.0 || ^8.5
- squizlabs/php_codesniffer: ^3.3
This package is auto-updated.
Last update: 2024-10-23 15:42:38 UTC
README
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
Documentation
Please find the project documentation in the doc
directory. We recommend reading it via Read the Docs.
Installation
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 autoload.php
file.
Dependencies
Quality
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 phpunit
.
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.
Contributing
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.
Security
If you discover any security related issues, please email joschi@tollwerk.de instead of using the issue tracker.
Credits
License
Copyright © 2017 Joschi Kuphal / joschi@tollwerk.de. Licensed under the terms of the MIT license.