kubawerlos / html-validator
Simple PHP library for HTML validation against https://checker.html5.org
Installs: 4 341
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.6
- ext-curl: *
- ext-mbstring: *
README
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')));