phuongdev89/yii2-simplehtmldom

Simple HTML Dom

Installs: 111

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Type:yii2-extension

3.0.0 2023-02-01 10:14 UTC

This package is auto-updated.

Last update: 2024-10-26 11:45:34 UTC


README

Simple HTML Dom

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist phuongdev89/yii2-simplehtmldom "dev-master"

or add

"phuongdev89/yii2-simplehtmldom": "dev-master"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \phuongdev89\simplehtmldom\SimpleHTMLDom::file_get_html('http://google.com'); ?>```

See more: http://simplehtmldom.sourceforge.net/