ankurgoels / 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
Requires
- php: ^7.1.3
- jkphl/dom-factory: ^0.1.2
- jkphl/rdfa-lite-microdata: ^0.4.4
- league/uri: ^5.0
- mf2/mf2: ^0.4
- ml/json-ld: ^1.1
- monolog/monolog: ^1.24 || ^2
- psr/cache: ^1.0
- psr/log: ^1.1
- symfony/cache: ^4.0|^5.0
Requires (Dev)
- clue/graph-composer: dev-master
- mf2/tests: @dev
- mindplay/composer-locator: ^2.1
- php-coveralls/php-coveralls: ^2.1
- phpunit/phpunit: ^7.0 || ^8.5
- squizlabs/php_codesniffer: ^3.3
- dev-master
- v3.0.15
- v3.0.14
- v3.0.13
- v3.0.12
- v3.0.11
- v3.0.10
- v3.0.9
- v3.0.8
- v3.0.7
- 3.0.6
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.1.1
- v2.1.0
- v2.0.1
- v2.0.0
- v1.0.2
- v1.0.1
- v1.0.0
- v0.3.6
- v0.3.5
- v0.3.4
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.1
- v0.2.0
- v0.1.0
- dev-setup
- dev-empty-type-not-allowed
- dev-travis-test-php74
- dev-iteminterface-non-traversable
- dev-travis-lowest
This package is auto-updated.
Last update: 2024-11-29 06:28:35 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 ankurgoels/micrometa.
composer require ankurgoels/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 © 2020 Ankur Goel / ankurgoel@live.in Licensed under the terms of the MIT license.