mirror of
https://github.com/Respect/Validation.git
synced 2024-05-17 21:56:40 +02:00
788939e359
In version 2.3, the Phone rule started to require "giggly/libphonenumber-for-php" as a dependency. That was a backward compatibility break, but the validation also became stricter, and phone numbers without country codes would not be considered valid. This commit will revert the backward compatibility break. That way, when validating a phone number without a country code (the behaviour from version 2.2), the Phone will not use an external library. Signed-off-by: Henrique Moody <henriquemoody@gmail.com> |
||
---|---|---|
.github | ||
bin | ||
data | ||
docs | ||
library | ||
tests | ||
.docheader | ||
.gitattributes | ||
.gitignore | ||
.readthedocs.yaml | ||
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: