respect / validation
The most awesome validation engine ever created for PHP
3.1.2
2026-06-02 15:02 UTC
Requires
- php: >=8.5
- php-di/php-di: ^7.1
- psr/container: ^2.0
- respect/string-formatter: ^1.7
- respect/stringifier: ^3.0
- symfony/polyfill-intl-idn: ^1.33
- symfony/polyfill-mbstring: ^1.33
Requires (Dev)
- egulias/email-validator: ^4.0
- giggsey/libphonenumber-for-php-lite: ^8.13 || ^9.0
- mikey179/vfsstream: ^1.6
- nette/php-generator: ^4.1
- pestphp/pest: ^4.6
- phpbench/phpbench: ^1.4
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.0
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpunit/phpunit: ^12.5
- psr/http-message: ^1.0 || ^2.0
- ramsey/uuid: ^4
- respect/coding-standard: ^5.0
- sebastian/diff: ^7.0
- sokil/php-isocodes: ^4.2.1
- sokil/php-isocodes-db-only: ^4.0
- squizlabs/php_codesniffer: ^4.0
- symfony/console: ^7.4 || ^8.0
- symfony/translation: ^8.0
- symfony/var-exporter: ^6.4 || ^7.0 || ^8.0
Suggests
- ext-bcmath: Arbitrary Precision Mathematics
- ext-fileinfo: File Information
- ext-mbstring: Multibyte String Functions
- egulias/email-validator: Improves the Email rule if available
- giggsey/libphonenumber-for-php-lite: Enables the phone rule if available
- ramsey/uuid: Enables the UUID rule if available
- sokil/php-isocodes: Enable rules that validate ISO codes
- sokil/php-isocodes-db-only: Enable rules that validate ISO codes
This package is auto-updated.
Last update: 2026-06-18 00:45:58 UTC
README
Respect\Validation
The most awesome validation engine ever created for PHP.
- Complex validation made simple:
v::numericVal()->positive()->between(1, 255)->isValid($input). - Advanced exception handling.
- More than 150 (fully tested) validators.
Learn More: