navatech / yii2-simplehtmldom
Simple HTML Dom
Installs: 1 626
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.3
- navatech/yii2-navatech-base: @dev
This package is auto-updated.
Last update: 2023-01-09 17:10: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 navatech/yii2-simplehtmldom "dev-master"
or add
"navatech/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 :
<?= \navatech\simplehtmldom\SimpleHTMLDom::file_get_html('http://google.com'); ?>``` See more: http://simplehtmldom.sourceforge.net/