Registry / serialization / kub-at-php-simple-html-dom-parser

kub-at-php-simple-html-dom-parser

JSON →
library1.9.1phppackagistunverified

PHP Simple HTML DOM Parser with namespace and PHP 7.3 compatible.

composer require kub-at/php-simple-html-dom-parser
INSTALL
IMPORT
SIG · KUB-AT-PHP-SIMPLE-
K
kub-at-php-simple-html-dom-parser
serializationphpv1.9.1
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 KubAT\PhpSimple\HtmlDomParser;

Parses HTML string and extracts body text.

use KubAT\PhpSimple\HtmlDomParser; $html = HtmlDomParser::str_get_html('<html><body>Hello</body></html>'); echo $html->find('body', 0)->plaintext;
Debug
Known issues
gotchaNot actively maintained; may have security issues with malformed HTML.
fix
Consider using DOMDocument or a maintained parser like Symfony DomCrawler.
affects: *
Upgrade
Version history
1.9.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
kub-at-php-simple-html-dom-parser — pip install kub-at-php-simple-html-dom-parser · libregistry