This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Simple Html Dom Parser for Yii

dev-master / 1.0.x-dev 2021-02-08 15:36 UTC


This extension configures voku/simple_html_dom

Packagist Version PHP from Packagist Packagist GitHub


The package could be installed via composer:

composer require yiirocks/simple-html-dom


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:


Code Climate maintainability Codacy branch grade Scrutinizer code quality (GitHub/Bitbucket) GitHub Workflow Status