Registry / utility / voku-simple-html-dom

voku-simple-html-dom

JSON →
library5.0.0phppackagistunverified

A simple HTML DOM parser for PHP, allowing easy manipulation of HTML documents.

composer require voku/simple_html_dom
INSTALL
IMPORT
SIG · VOKU-SIMPLE-HTML-D
V
voku-simple-html-dom
utilityphpv5.0.0
harness data pending
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.

HtmlDomParser
✓ use voku\helper\HtmlDomParser;

Parse an HTML string and extract text from a paragraph element.

use voku\helper\HtmlDomParser; $html = '<html><body><p>Hello</p></body></html>'; $dom = HtmlDomParser::str_get_html($html); echo $dom->find('p', 0)->innertext; // Hello
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
voku-simple-html-dom — pip install voku-simple-html-dom · libregistry