kub-at / php-simple-html-dom-parser
PHP Simple HTML DOM Parser with namespace and PHP 7.3 compatible
Installs: 5 666 722
Dependents: 38
Suggesters: 2
Security: 0
Stars: 155
Watchers: 10
Forks: 43
Open Issues: 4
Requires
- php: >=5.3.2
README
Version 1.9.1 - PHP 7.3 compatible PHP Simple HTML DOM Parser changelog: https://sourceforge.net/projects/simplehtmldom/files/simplehtmldom/1.9.1/
Install
composer require kub-at/php-simple-html-dom-parser
Usage
use KubAT\PhpSimple\HtmlDomParser; ... $dom = HtmlDomParser::str_get_html( $str ); or $dom = HtmlDomParser::file_get_html( $file_name ); $elems = $dom->find($elem_name); ...