rodrigoq / simple-html-dom
A copy of the PHP Simple HTML DOM Parser project (for compatibility with php v8.3+).
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 23
pkg:composer/rodrigoq/simple-html-dom
Requires
- php: ^7.4 || ^8.3
This package is not auto-updated.
Last update: 2025-12-21 15:32:53 UTC
README
Fork for simple compatibility with php v8.3+.
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.
simple-html-dom
A copy of the PHP Simple HTML DOM Parser project usable as a Composer package.
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
Since this library doesn’t use namespaces, it lives in the global namespace.
$instance = new \simple_html_dom();
Check the official documentation at SourceForge.