dimabdc/yii2-simple_html_dom

Simple HTML DOM parser for Yii 2 framework.

Installs: 65

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 9

Type:yii2-extension

v1.0.3 2015-11-18 15:50 UTC

This package is auto-updated.

Last update: 2024-10-24 07:30:18 UTC


README

Simple HTML DOM parser extension for Yii 2 framework.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist garyjl/yii2-simple_html_dom "*"

or add

"garyjl/yii2-simple_html_dom": "*"

to the require section of your composer.json file.

Usage

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

<?= \garyjl\simplehtmldom\SimpleHTMLDom::file_get_html('http://www.abc.com'); ?>

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