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

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

binhtv/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.1(2y ago)025MITHTMLPHP &gt;=5.3.2

Since Jul 5Pushed 2y ago1 watchersCompare

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

READMEChangelog (2)DependenciesVersions (3)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": {
    "binhtv/php-simple-html-dom-parser": "1.0"
    }
```

Usage
-----

[](#usage)

```
use Binhtv\PhpSimple\HtmlDomParser;

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

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

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Total

2

Last Release

1048d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0fc7e5d85f8f51d6a7126e9f7e070567c86d46556f952c8898da0b4fe77d8127?d=identicon)[binhphp](/maintainers/binhphp)

---

Top Contributors

[![binhtv-2701](https://avatars.githubusercontent.com/u/90613229?v=4)](https://github.com/binhtv-2701 "binhtv-2701 (2 commits)")

---

Tags

parserhtmldom

### Embed Badge

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

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

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/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.4k7.9M123](/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.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)[scotteh/php-dom-wrapper

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

1471.9M10](/packages/scotteh-php-dom-wrapper)[oscarotero/html-parser

Parse html strings to DOMDocument

165.0M1](/packages/oscarotero-html-parser)

PHPackages © 2026

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