Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Document
✓ use Gt\Dom\Document;
Parse HTML and query elements using modern DOM API.
use Gt\Dom\Document;
$document = new Document('<html><body><p>Hello</p></body></html>');
echo $document->querySelector('p')->textContent;
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.