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-12-29 06:08:09 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);
...