This is a draft library that will eventually be included in Zend Framework. It is currently unstable, and likely should not be used in production. Use at your own risk!
This library provides general purpose, stateless validation for PHP values.
Design document: https://discourse.zendframework.com/t/rfc-new-validation-component/208
Run the following to install this library:
$ composer require zendframework/zend-datavalidator
Note: this package is not yet on Packagist; you will need to add a repository entry to your
composer.json
referencing this github repo in order to complete installation.
Documentation is in the doc tree, and can be compiled using mkdocs:
$ mkdocs build
You may also browse the documentation online.