edmondscommerce/w3c-validator

PHP Wrapper library around W3C Validator for HTML/CSS

0.1.3 2017-10-11 17:16 UTC

This package is auto-updated.

Last update: 2024-10-29 04:36:46 UTC


README

By Edmonds Commerce

A simple wrapper class around the W3C HTML Validator (CSS coming soon).

Usage

Ensure that you have the following system dependencies

  • Java Runtime
  • Unzip

Install using composer. Run the w3c-html-install.bash command in the bin directory

To run the validator, instantiate the EdmondsCommerce\W3C\Html class and use the available public methods to validate files or fragments. The library does not handle resolving a URL but this should not be an issue to work around.

The tool was created with the idea of bulk validation of files over using the public W3C validator that does have a rate limit set.