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

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

keithiiiiu/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.

06HTML

Since Oct 17Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

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

Version 1.5.2

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

Usage
-----

[](#usage)

```
use Sunra\PhpSimple\HtmlDomParser;

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

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

Updates
-------

[](#updates)

combined with this file:

> composer require keithiiiiu/php-simple-html-dom-parser

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 78.1% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c0e6e0576f29f7bf5e53ebfd9f40cf55c09bb89e44a553d0ea1c00988b7c596?d=identicon)[keithiiiiu](/maintainers/keithiiiiu)

---

Top Contributors

[![sunra](https://avatars.githubusercontent.com/u/635370?v=4)](https://github.com/sunra "sunra (50 commits)")[![someone0123](https://avatars.githubusercontent.com/u/53158170?v=4)](https://github.com/someone0123 "someone0123 (5 commits)")[![WanderingZombie](https://avatars.githubusercontent.com/u/675501?v=4)](https://github.com/WanderingZombie "WanderingZombie (3 commits)")[![mlocati](https://avatars.githubusercontent.com/u/928116?v=4)](https://github.com/mlocati "mlocati (2 commits)")[![zio-mitch](https://avatars.githubusercontent.com/u/5042579?v=4)](https://github.com/zio-mitch "zio-mitch (1 commits)")[![mryanb](https://avatars.githubusercontent.com/u/3656391?v=4)](https://github.com/mryanb "mryanb (1 commits)")[![shtse8](https://avatars.githubusercontent.com/u/8020099?v=4)](https://github.com/shtse8 "shtse8 (1 commits)")[![daigo75](https://avatars.githubusercontent.com/u/292434?v=4)](https://github.com/daigo75 "daigo75 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M47](/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)
