Validating HTML markup using tidy.
Example:, (*1)
use TidyValidator\Validator; $html = file_get_contents('http://google.com/'); $result = Validator::validate($html); print_r($result);
Sources Download
MIT