yiirocks / simple-html-dom
Simple Html Dom Parser for Yii
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 2
Type:yii3-extension
Requires
- php: >=7.4.0
- voku/simple_html_dom: ^4.7
- yiisoft/composer-config-plugin: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.3
- phpmd/phpmd: @stable
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: ^3.5
- vimeo/psalm: ^4.1
- yiisoft/di: ^3.0
This package is auto-updated.
Last update: 2024-12-14 00:49:00 UTC
README
This extension configures voku/simple_html_dom
Installation
The package could be installed via composer:
composer require yiirocks/simple-html-dom
Usage
use YiiRocks\SimpleHtmlDom\SimpleHtmlDomInterface; class Class { private SimpleHtmlDomInterface $dom; __construct(SimpleHtmlDomInterface $dom) { $this->dom = $dom; } }
Available options can be found in the API Readme.
Unit testing
The package is tested with PHPUnit. To run tests:
./vendor/bin/phpunit