2017 © Pedro Peláez
 

library w3c-validator

PHP class for validating web documents with W3C validation API

image

eldadfux/w3c-validator

PHP class for validating web documents with W3C validation API

  • Saturday, August 6, 2016
  • by eldadfux
  • Repository
  • 2 Watchers
  • 7 Stars
  • 194 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 3 Versions
  • 5 % Grown

The README.md

W3C Validator Build Status

PHP wrapper class for validating web documents with W3C validation API, (*1)

Installation

Install using composer:, (*2)

composer require 'eldadfux/w3c-validator:1.0.0'

Usage

Example:, (*3)

include_once '../src/W3CValidator.php';

// Create a new validator object
$validate = new W3CValidator('http://www.walla.co.il');

var_dump($validate->isValid()); /* output: bool(false) */
var_dump($validate->getErrorsCount()); /* output: int(463) */
var_dump($validate->getWarningsCount()); /* output: int(372) */

Limits

Please notice that the W3C API is limited according to their abuse policy., (*4)

More information can be found here: http://www.w3.org/Help/abuse-info/re-reqs.html, (*5)

Contributing

All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code., (*6)

Fork the project, create a feature branch, and send us a pull request., (*7)

Versioning

For transparency and insight into our release cycle, and for striving to maintain backward compatibility, Utopia PHP Framework will be maintained under the Semantic Versioning guidelines as much as possible. Releases will be numbered with the following format:, (*8)

<major>.<minor>.<patch>, (*9)

For more information on SemVer, please visit http://semver.org/., (*10)

Requirements

PHP 5.3+, (*11)

We recommend using the latest PHP version whenever possible., (*12)

Author

Eldad Fux, (*13)

License

W3C Validator class is licensed under the MIT License - see the LICENSE file for details, (*14)

The Versions

06/08 2016

dev-master

9999999-dev

PHP class for validating web documents with W3C validation API

  Sources   Download

MIT

validation w3c

07/04 2015

v1.0.0

1.0.0.0

PHP class for validating web documents with W3C validation API

  Sources   Download

MIT

validation w3c

17/08 2014

v0.1.0

0.1.0.0

PHP class for validating web documents with W3C validation API

  Sources   Download

MIT

validation w3c