PHPackages                             chenhaitang/php-simple-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. chenhaitang/php-simple-html-dom-parser

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

chenhaitang/php-simple-html-dom-parser
======================================

this is a php simple html dom parser repo for composer.

2.0.1(6y ago)0127MITPHPPHP &gt;=5.3.2

Since Jun 6Pushed 6y ago1 watchersCompare

[ Source](https://github.com/chenhaitang/php-simple-html-dom-parser)[ Packagist](https://packagist.org/packages/chenhaitang/php-simple-html-dom-parser)[ RSS](/packages/chenhaitang-php-simple-html-dom-parser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

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

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

Version 1.0

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": {
    "chenhaitang/php-simple-html-dom-parser": "1.0"
    }
```

Usage
-----

[](#usage)

```
use Trident\PhpSimple\HtmlDomParser;

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

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

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~734 days

Total

3

Last Release

2210d ago

Major Versions

1.0.x-dev → 2.0.12020-06-13

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16585295?v=4)[Damon](/maintainers/chenhaitang)[@chenhaitang](https://github.com/chenhaitang)

---

Top Contributors

[![chenhaitang](https://avatars.githubusercontent.com/u/16585295?v=4)](https://github.com/chenhaitang "chenhaitang (18 commits)")

### Embed Badge

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

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

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M45](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45153.1k6](/packages/jstewmc-rtf)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.2k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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