axllent/simplehtmldom

PHP Simple HTML DOM Parser with namespace & bug fixes

1.6.0 2019-01-18 03:09 UTC

This package is auto-updated.

Last update: 2020-07-18 08:37:41 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.