mirror of
https://github.com/Respect/Validation.git
synced 2024-06-08 16:52:16 +02:00
a8cb87217f
The new ranges are now 100% accurate by not including any Unicode point that is not defined into the reference file. For example, in the old ranges there is this interval: [\x{3297}-\x{3299}] That is not accurate because there is no "3298" Unicode point in the specs. It may be used by another character and it will cause the check to fail if the user included that particular character. The new ranges for that previous example are now: \x{3297} \x{3299} And so on... This commit will make the ranges more accurate with maximum tolerance to other charcters and also rename the constant name from "GROUPS" to "RANGES" since they are ranges, not groups. |
||
---|---|---|
docs | ||
library | ||
tests | ||
.docheader | ||
.gitattributes | ||
.gitignore | ||
.php_cs | ||
.scrutinizer.yml | ||
.travis.yml | ||
CHANGELOG.md | ||
composer.json | ||
CONTRIBUTING.md | ||
couscous.yml | ||
LICENSE.md | ||
mkdocs.yml | ||
phpcs.xml.dist | ||
phpstan.neon.dist | ||
phpunit.xml.dist | ||
README.md |
Respect\Validation
The most awesome validation engine ever created for PHP.
- Complex rules made simple:
v::numericVal()->positive()->between(1, 255)->validate($input)
. - Granularity control for advanced reporting.
- More than 130 (fully tested) validation rules.
- A concrete API for non fluent usage.
Documentation
Documentation can be found in https://respect-validation.readthedocs.io and also in the docs/ folder.