crwlr / schema-org
Extract schema.org structured data from HTML documents.
Fund package maintenance!
otsch
Installs: 8 267
Dependents: 1
Suggesters: 0
Security: 0
Stars: 11
Watchers: 1
Forks: 2
Open Issues: 0
Requires
- php: ^8.0
- crwlr/utils: ^1.0
- psr/log: ^2.0|^3.0
- spatie/schema-org: ~3.23.0
- symfony/dom-crawler: ^6.0|^7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.57
- pestphp/pest: ^1.22|^2.0|^3.0
- phpstan/phpstan: ^1.8
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).