A copy of the PHP Simple HTML DOM Parser project.

1.5.0 2013-05-14 22:27 UTC

This package is not auto-updated.

Last update: 2022-05-17 03:14:05 UTC


Note: I don’t intend to maintain this package. Other copies of Simple HTML DOM are already available on Packagist, are easier to install and don’t clutter your composer.json file.


A copy of the PHP Simple HTML DOM Parser project usable as a Composer package.


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

"repositories": [
        "type": "vcs",
        "url": ""

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

"require": {
    "simple-html-dom/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.


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

$instance = new \simple_html_dom();

Check the official documentation at SourceForge.