PHPackages                             rodrigoq/simple-html-dom - 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. rodrigoq/simple-html-dom

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

rodrigoq/simple-html-dom
========================

A copy of the PHP Simple HTML DOM Parser project (for compatibility with php v8.3+).

1.5.4(6mo ago)08MITPHPPHP ^7.4 || ^8.3

Since May 14Pushed 6mo agoCompare

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

READMEChangelogDependenciesVersions (5)Used By (0)

Fork for simple compatibility with php v8.3+.

**Note: I don’t intend to maintain this package. [Other copies](https://packagist.org/search/?q=simple-html-dom) of Simple HTML DOM are already available on Packagist, are easier to install and don’t clutter your `composer.json`file.**

simple-html-dom
===============

[](#simple-html-dom)

A copy of the [PHP Simple HTML DOM Parser project](http://simplehtmldom.sourceforge.net/) usable as a [Composer](http://getcomposer.org/) package.

Installation
------------

[](#installation)

First, you need to add this repository at the root of your `composer.json`:

```
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/Youpie/simple-html-dom"
    }
]
```

Then, require this package in the same way as any other package:

```
"require": {
    "rodrigoq/simple-html-dom": "*"
}
```

Do a `composer validate`, just to be sure that your file is still valid.

And voilà, you’re ready to `composer update`.

Usage
-----

[](#usage)

Since this library doesn’t use namespaces, it lives in the global namespace.

```
$instance = new \simple_html_dom();
```

Check the [official documentation at SourceForge](http://simplehtmldom.sourceforge.net/manual.htm).

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance71

Regular maintenance activity

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 50% 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 ~1515 days

Total

4

Last Release

195d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbacc9538c560a54bcedce9c74d6a9f23322e6ab0b4c8845647b35a02481b84f?d=identicon)[rodrigoq](/maintainers/rodrigoq)

---

Top Contributors

[![rodrigoq](https://avatars.githubusercontent.com/u/3507925?v=4)](https://github.com/rodrigoq "rodrigoq (11 commits)")[![miclf](https://avatars.githubusercontent.com/u/3188746?v=4)](https://github.com/miclf "miclf (7 commits)")[![Erwin32](https://avatars.githubusercontent.com/u/4253182?v=4)](https://github.com/Erwin32 "Erwin32 (2 commits)")[![youpie](https://avatars.githubusercontent.com/u/37704067?v=4)](https://github.com/youpie "youpie (2 commits)")

### Embed Badge

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

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

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M283](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M226](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M63](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M343](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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