cinghie / yii2-simplehtmldom
Yii2 Simple HTML Dom
Installs: 1 104
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ^2.0.14
Requires (Dev)
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2024-12-08 12:05:20 UTC
README
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require cinghie/yii2-simplehtmldom "@dev"
or add
"cinghie/yii2-simplehtmldom": "@dev"
to the require section of your composer.json
file.
Usage
use cinghie\simplehtmldom\SimpleHtmlDom;
SimpleHtmlDom::file_get_html('http://www.google.com');
SimpleHtmlDom::str_get_html($string);