chenkby / validation
The most awesome validation engine ever created for PHP. Respect/Validation 汉化版本
v0.1.0
2023-11-12 09:30 UTC
Requires
- php: ^8.0 || ^8.1 || ^8.2
- respect/stringifier: ^0.2.0
- symfony/polyfill-mbstring: ^1.2
Requires (Dev)
- egulias/email-validator: ^3.0
- giggsey/libphonenumber-for-php-lite: ^8.13
- illuminate/database: ^10.31
- malukenho/docheader: ^1.0
- mikey179/vfsstream: ^1.6
- phpstan/phpstan: ^1.9
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
- phpunit/phpunit: ^9.6
- psr/http-message: ^1.0
- respect/coding-standard: ^3.0
- squizlabs/php_codesniffer: ^3.7
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
This package is auto-updated.
Last update: 2024-11-12 11:53:43 UTC
README
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: