yiirocks/simple-html-dom

Simple Html Dom Parser for Yii

dev-master / 1.0.x-dev 2022-10-04 06:54 UTC

README

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