mirror of
https://github.com/Respect/Validation.git
synced 2024-06-01 13:22:24 +02:00
5a067faec7
Updated the whole list according to the last version found on geonames.org. The script that I executed to generate the list is: curl -L http://download.geonames.org/export/dump/countryInfo.txt | sed 's,\t,\;,g' | sort -u | cut -d ';' -f 1,15 | sed -E "/^#/d; /^[A-Z]{2}\;$/d; s,([A-Z]{2})\;(.+),'\1' => '/\2/'\,,g" After generating the list I few changes had to be made since some of the postal codes in the list were manually updated because they were not correct. This change was made because James Macon reported that "110231" was not recognized as a valid Colombian postal code. Signed-off-by: Henrique Moody <henriquemoody@gmail.com> |
||
---|---|---|
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+
Documentation
Documentation can be found in https://respect-validation.readthedocs.io and also in the docs/ folder.