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

PHP Simple HTML DOM Parser with namespace and PHP 7.3 compatible

Maintainers

👁 Kub-AT

Package info

github.com/Kub-AT/php-simple-html-dom-parser

Homepage

pkg:composer/kub-at/php-simple-html-dom-parser

Statistics

Installs: 6 739 988

Dependents: 36

Suggesters: 2

Stars: 152

Open Issues: 4

1.9.1 2019-10-25 12:34 UTC

Requires

  • php: >=5.3.2

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT ff22f98bfd9235115c128059076f3eb740d66913

  • S.C. Chen <me578022.woop@gmail.com>
  • Jakub Stawowy <Kub-AT.woop@users.noreply.github.com>

htmldomSimple

This package is auto-updated.

Last update: 2026-06-29 01:21:04 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);
...