dev-master
9999999-dev"PHP Simple HTML DOM Parser" rev.210 adapted to Yii2 psr-4(namespace autoload class) based on serhatozles/yii2-simplehtmldom(rev.196)
WTFPL
The Requires
by keltstr
extension yii2 simplehtmldom simple_html_dom
"PHP Simple HTML DOM Parser" rev.210 adapted to Yii2 psr-4(namespace autoload class) based on serhatozles/yii2-simplehtmldom(rev.196)
"Simple HTML Dom"(PHP Simple HTML DOM Parser) http://simplehtmldom.sourceforge.net/ library rev.210 adapted to yii2 extension class autoload(psr-4 from \vendor\keltstr\simplehtmldom), (*1)
The preferred way to install this extension is through composer. Either run, (*2)
php composer.phar require --prefer-dist keltstr/yii2-simplehtmldom "dev-master"
or (if composer installed to OS), (*3)
composer require --prefer-dist keltstr/yii2-simplehtmldom "dev-master"
OR add(code below) to the require section of your composer.json
file and run command Install(Composer), (*4)
"keltstr/yii2-simplehtmldom": "dev-master"
Once the extension is installed, simply use it in your code by :, (*5)
<?= \keltstr\simplehtmldom\SimpleHTMLDom::file_get_html('http://google.com'); ?>```
OR use alias namespace by use
, (*6)
About the functional read on the official website: http://simplehtmldom.sourceforge.net/, (*7)
"PHP Simple HTML DOM Parser" rev.210 adapted to Yii2 psr-4(namespace autoload class) based on serhatozles/yii2-simplehtmldom(rev.196)
WTFPL
extension yii2 simplehtmldom simple_html_dom