• Stars
    star
    155
  • Rank 240,864 (Top 5 %)
  • Language
    PHP
  • License
    MIT License
  • Created almost 6 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PHP Simple HTML DOM Parser fork http://simplehtmldom.sourceforge.net/ (simplehtmldom - PHP 7.3+ compatible)

php-simple-html-dom-parser

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