PHPackages                             zvook/php5-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. zvook/php5-simple-html

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

zvook/php5-simple-html
======================

Wrapper for simple\_html\_dom

1.2.0(10y ago)069MITPHP

Since Feb 1Pushed 9y ago1 watchersCompare

[ Source](https://github.com/zvook/php5-simple-html)[ Packagist](https://packagist.org/packages/zvook/php5-simple-html)[ RSS](/packages/zvook-php5-simple-html/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (10)Used By (0)

PHP5 simple html parser
=======================

[](#php5-simple-html-parser)

Usable wrapper for [simple\_html\_dom](http://simplehtmldom.sourceforge.net/)

Makes you happy to use simple\_html\_dom with your IDE

Usage
-----

[](#usage)

Add to your composer.json

```
"require": {
    "zvook/php5-simple-html": "*"
}

```

Example

```
use SimpleHtml\Dom;

$dom = Dom::str_get_html('');
$dom = Dom::file_get_html('http://www.google.com/');

$div = $dom->getElementById('id1');
foreach ($div->getElementByTagName('table.table-class')->find('tr') as $row) {
    $firstCell = $row->find('td', 0);
    $thirdCell = $row->find('td', 2);
    $content = $thirdCell->plaintext;
}
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

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

Recently: every ~19 days

Total

9

Last Release

3677d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e0bebc6a6396c925fdcbb731527fa708d43a66ab469c61b689949ffd8ff80d6?d=identicon)[xaerobiont](/maintainers/xaerobiont)

---

Top Contributors

[![xaerobiont](https://avatars.githubusercontent.com/u/5050758?v=4)](https://github.com/xaerobiont "xaerobiont (12 commits)")

---

Tags

phpparserhtmldom

### Embed Badge

![Health badge](/badges/zvook-php5-simple-html/health.svg)

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

###  Alternatives

[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.4M61](/packages/sunra-php-simple-html-dom-parser)[simplehtmldom/simplehtmldom

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

1921.3M14](/packages/simplehtmldom-simplehtmldom)[ressio/pharse

Fastest PHP HTML Parser

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

Parse html strings to DOMDocument

165.0M1](/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.

2610.3k3](/packages/hexydec-htmldoc)

PHPackages © 2026

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