axllent/simplehtmldom

PHP Simple HTML DOM Parser with namespace & bug fixes

1.6.1 2022-08-20 11:46 UTC

This package is auto-updated.

Last update: 2024-12-20 16:49:21 UTC


README

This is a fork of the original Simple HTML DOM Parser with namespace & bug fixes.

The only noticeable difference to the original package is the composer installation method and namespace reference.

Changes

Please refer to the CHANGELOG.md for a list of changes.

Installation

composer require axllent/simplehtmldom

Documentation

Please note the use of the namespace:

<?php
$dom = SimpleHtmlDom\:file_get_html($url);
// or
$dom = SimpleHtmlDom\str_get_html($html);

For official documentation and examples refer to the official documentation.