Skip to content

YiiRocks/simple-html-dom

Repository files navigation

Simple Html Dom Parser for Yii

This extension configures voku/simple_html_dom

Packagist Version PHP from Packagist Packagist GitHub

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

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