mirror of
https://github.com/Respect/Validation.git
synced 2024-06-28 02:00:06 +02:00
The old algorithm not working with some CNH values, e.g 00641829409. You can even do some checking on http://www.detran.pr.gov.br/modules/catasg/servicos-detalhes.php?tema=motorista&id=239. Original algo can be found on http://forum.imasters.com.br/topic/400293-validate-br. |
||
---|---|---|
docs | ||
library | ||
tests | ||
.gitignore | ||
.php_cs | ||
.scrutinizer.yml | ||
.travis.yml | ||
CHANGELOG.md | ||
composer.json | ||
CONTRIBUTING.md | ||
couscous.yml | ||
LICENSE.md | ||
phpunit.xml.dist | ||
README.md |
Respect\Validation
The most awesome validation engine ever created for PHP.
- Complex rules made simple:
v::numeric()->positive()->between(1, 255)->validate($input)
. - Granularity control for advanced reporting.
- More than 100 (fully tested) validators.
- A concrete API for non fluent usage.
- Works on PHP 5.4+ or HHVM 3.3+