Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edmondscommerce/w3c-validator
PHP Wrapper Library around the W3C Validation Java library
https://github.com/edmondscommerce/w3c-validator
Last synced: 3 days ago
JSON representation
PHP Wrapper Library around the W3C Validation Java library
- Host: GitHub
- URL: https://github.com/edmondscommerce/w3c-validator
- Owner: edmondscommerce
- License: mit
- Created: 2017-10-11T13:43:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-11T17:17:51.000Z (about 7 years ago)
- Last Synced: 2024-04-25T06:02:18.752Z (7 months ago)
- Language: PHP
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# W3C Validator
## By [Edmonds Commerce](https://www.edmondscommerce.co.uk)A simple wrapper class around the W3C HTML Validator (CSS coming soon).
## Usage
Ensure that you have the following system dependencies
* Java Runtime
* UnzipInstall using composer.
Run the `w3c-html-install.bash` command in the `bin` directoryTo 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.