PHPackages                             unbug4120/php-simple-html - 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. unbug4120/php-simple-html

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

unbug4120/php-simple-html
=========================

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

v1.0(5y ago)241MITPHPPHP &gt;=5.6

Since May 4Pushed 5y ago1 watchersCompare

[ Source](https://github.com/unbug4120/php-simple-html)[ Packagist](https://packagist.org/packages/unbug4120/php-simple-html)[ Docs](https://simplehtmldom.sourceforge.io/)[ RSS](/packages/unbug4120-php-simple-html/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

php-simple-html-dom-parser
==========================

[](#php-simple-html-dom-parser)

Version 1.0

Adaptation for Composer and PSR-0 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": {
    "unbug4120/php-simple-html-dom-parser": "1.0"
    }
```

Usage
-----

[](#usage)

```
include 'vendor/autoload.php';
use duongdat\phpSimple\HtmlDomParser;

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

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

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Unknown

Total

1

Last Release

1886d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8042566?v=4)[duongdat](/maintainers/duongdat)[@DuongDat](https://github.com/DuongDat)

---

Top Contributors

[![unbug4120](https://avatars.githubusercontent.com/u/54050934?v=4)](https://github.com/unbug4120 "unbug4120 (9 commits)")

---

Tags

phpparserhtmldomSimplesimplehtmldom

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/unbug4120-php-simple-html/health.svg)

```
[![Health](https://phpackages.com/badges/unbug4120-php-simple-html/health.svg)](https://phpackages.com/packages/unbug4120-php-simple-html)
```

###  Alternatives

[simplehtmldom/simplehtmldom

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

1931.4M15](/packages/simplehtmldom-simplehtmldom)[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.7M65](/packages/sunra-php-simple-html-dom-parser)[ressio/pharse

Fastest PHP HTML Parser

8684.0k](/packages/ressio-pharse)[oscarotero/html-parser

Parse html strings to DOMDocument

155.7M2](/packages/oscarotero-html-parser)[hexydec/htmldoc

A token based HTML document parser and minifier. Minify HTML documents including inline CSS, Javascript, and SVG's on the fly. Extract document text, attributes, and fragments. Full test suite.

2611.1k4](/packages/hexydec-htmldoc)

PHPackages © 2026

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