respect / validation
The most awesome validation engine ever created for PHP
Installs: 36 308 997
Dependents: 468
Suggesters: 8
Security: 0
Stars: 5 932
Watchers: 195
Forks: 775
Open Issues: 6
pkg:composer/respect/validation
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.2
- 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
- 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
- 3.0.x-dev
- 3.0.1
- 3.0.0
- 2.4.x-dev
- 2.4.12
- 2.4.11
- 2.4.10
- 2.4.9
- 2.4.8
- 2.4.7
- 2.4.6
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.x-dev
- 2.3.13
- 2.3.12
- 2.3.11
- 2.3.10
- 2.3.9
- 2.3.8
- 2.3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0.3.9
- dev-main
This package is auto-updated.
Last update: 2026-02-14 00:21:10 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: