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

PHP Simple HTML DOM Parser with namespace and PHP 7.3 compatible

1.9.1 2019-10-25 12:34 UTC

This package is auto-updated.

Last update: 2024-03-29 04:11:35 UTC


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);
...