kubawerlos/html-validator

Simple PHP library for HTML validation against https://checker.html5.org

v1.0.4 2017-08-22 21:26 UTC

This package is auto-updated.

Last update: 2024-12-06 01:13:16 UTC


README

Latest Stable Version PHP Version License Build Status

Simple PHP library for HTML validation against https://checker.html5.org

Installation

    composer require --dev kubawerlos/html-validator

Usage

    use KubaWerlos\HtmlValidator\Validator;

    assertEmpty(Validator::validate(file_get_contents('index.html')));