PHPackages                             glicer/w3c-validator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. glicer/w3c-validator

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

glicer/w3c-validator
====================

Validates html and css using w3c markup and css validation free services

54.8k5HTML

Since Aug 26Pushed 9y ago2 watchersCompare

[ Source](https://github.com/emmanuelroecker/php-w3cvalidator)[ Packagist](https://packagist.org/packages/glicer/w3c-validator)[ RSS](/packages/glicer-w3c-validator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-w3cvalidator
================

[](#php-w3cvalidator)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e0f44be96abd699ea6c8a562592f7a82caff3e6124eb8c99568aa93a79b5785f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f656d6d616e75656c726f65636b65722f7068702d77336376616c696461746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/emmanuelroecker/php-w3cvalidator/?branch=master)[![Build Status](https://camo.githubusercontent.com/db56df31d7e60058309f4aa552f733cde57e9de4ed8299f680915eae12f4450a/68747470733a2f2f7472617669732d63692e6f72672f656d6d616e75656c726f65636b65722f7068702d77336376616c696461746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/emmanuelroecker/php-w3cvalidator)[![Coverage Status](https://camo.githubusercontent.com/5385eec04f9835d0479892083465db5fcc27f91620d0a7af3c38f718d75efbc3/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f656d6d616e75656c726f65636b65722f7068702d77336376616c696461746f722f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/emmanuelroecker/php-w3cvalidator?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/9ef3884e1d7e927446529884572bfb66123207c4d98b57aa381b104dba603acc/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f36366536306437342d316634632d343839652d386439642d3465356264373863376362632f6d696e692e706e67)](https://insight.sensiolabs.com/projects/66e60d74-1f4c-489e-8d9d-4e5bd78c7cbc)[![Dependency Status](https://camo.githubusercontent.com/854a190d54ae04785232c23e7067cc0d2c6ee4d64109c4bfbb28a2800d0af587/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3536383136333563656234663437303033633030303839362f62616467652e7376673f7374796c653d666c61742d737175617265)](https://www.versioneye.com/user/projects/5681635ceb4f47003c000896)

Validate html and css files using [w3c markup validation](http://validator.w3.org/) and [w3c css validation](http://jigsaw.w3.org/css-validator/).

Installation
------------

[](#installation)

This library can be found on [Packagist](https://packagist.org/packages/glicer/w3c-validator).

The recommended way to install is through [composer](http://getcomposer.org).

Edit your `composer.json` and add :

```
{
    "require": {
      "glicer/w3c-validator": "dev-master"
    }
}
```

Install dependencies :

```
php composer.phar install
```

Example
-------

[](#example)

```
