mirror of
https://github.com/Respect/Validation.git
synced 2024-06-08 00:32:16 +02:00
689026fc7b
The `filter_var` function is more of a sanitizer, but we as a validation library do not care for that use case. We should treat its sanitizings as a signal for checking if the type after sanitization matches the option provided. This fixes #1387 |
||
---|---|---|
.github | ||
bin | ||
data/iso_3166-2 | ||
docs | ||
library | ||
tests | ||
.docheader | ||
.gitattributes | ||
.gitignore | ||
CHANGELOG.md | ||
composer.json | ||
CONTRIBUTING.md | ||
LICENSE | ||
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 150 (fully tested) validation rules.
- A concrete API for non fluent usage.
Learn More: