crwlr / schema-org
Extract schema.org structured data from HTML documents.
Fund package maintenance!
v0.4.0
2026-05-02 11:14 UTC
Requires
- php: ^8.2
- crwlr/utils: ^1.0
- psr/log: ^2.0|^3.0
- spatie/schema-org: ~4.0.2
- symfony/dom-crawler: ^7.0|^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.57
- pestphp/pest: ^3.0|^4.0
- phpstan/phpstan: ^2.0
README
schema.org Structured Data Extraction
This library helps to extract schema.org structured data in JSON-LD format from HTML documents. It tries to find JavaScript tags in HTML containing JSON-LD objects, getting the data and populating instances of the equivalent classes from spatie's schema-org package. Shout-out to the awesome guys at spatie!
Documentation
You can find the documentation at crwlr.software.
Contributing
If you consider contributing something to this package, read the contribution guide (CONTRIBUTING.md).
