PHPackages                             appzz/html-dom-parser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. appzz/html-dom-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

appzz/html-dom-parser
=====================

Composer adaptation of: A HTML DOM parser written in PHP5+ let you manipulate HTML in a very easy way! Require PHP 5+. Supports invalid HTML. Find tags on an HTML page with selectors just like jQuery. Extract contents from HTML in a single line.

1.8.2(6y ago)0892MITPHPPHP &gt;=5.3.2

Since Jan 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/a-pp-zz/html-dom-parser)[ Packagist](https://packagist.org/packages/appzz/html-dom-parser)[ Docs](https://github.com/coolswitcher/html-dom-parser)[ RSS](/packages/appzz-html-dom-parser/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (3)Used By (2)

html-dom-parser
===============

[](#html-dom-parser)

Version 1.8

Adaptation for Composer and PSR-4 of:

A HTML DOM parser written in PHP5+ let you manipulate HTML in a very easy way! Require PHP 5+. Supports invalid HTML. Find tags on an HTML page with selectors just like jQuery. Extract contents from HTML in a single line.

Install
-------

[](#install)

composer.phar

```
"require": {
    "appzz/html-dom-parser": "1.8"
    }
```

Usage
-----

[](#usage)

```
use AppZz\Helpers\HtmlDomParser;

...
$dom = HtmlDomParser::str_get_html( $str );
or
$dom = HtmlDomParser::file_get_html( $file_name );

$elems = $dom->find($elem_name);
...
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~293 days

Total

2

Last Release

2423d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed80e5fea7f08c36b76e87f1395c71d245f97362d706a77aa2ade992bd2976b8?d=identicon)[CoolSwitcher](/maintainers/CoolSwitcher)

---

Top Contributors

[![coolswitcher](https://avatars.githubusercontent.com/u/646663?v=4)](https://github.com/coolswitcher "coolswitcher (6 commits)")

---

Tags

parserhtmldom

### Embed Badge

![Health badge](/badges/appzz-html-dom-parser/health.svg)

```
[![Health](https://phpackages.com/badges/appzz-html-dom-parser/health.svg)](https://phpackages.com/packages/appzz-html-dom-parser)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k269.7M301](/packages/masterminds-html5)[paquettg/php-html-parser

An HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.

2.4k8.1M128](/packages/paquettg-php-html-parser)[sunra/php-simple-html-dom-parser

Composer adaptation of: A HTML DOM parser written in PHP5+ let you manipulate HTML in a very easy way! Require PHP 5+. Supports invalid HTML. Find tags on an HTML page with selectors just like jQuery. Extract contents from HTML in a single line.

1.3k9.6M64](/packages/sunra-php-simple-html-dom-parser)[simplehtmldom/simplehtmldom

A fast, simple and reliable HTML document parser for PHP.

1931.4M15](/packages/simplehtmldom-simplehtmldom)[scotteh/php-dom-wrapper

Simple DOM wrapper to select nodes using either CSS or XPath expressions and manipulate results quickly and easily.

1482.0M11](/packages/scotteh-php-dom-wrapper)[oscarotero/html-parser

Parse html strings to DOMDocument

155.4M2](/packages/oscarotero-html-parser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
