chenkby / validation
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-09-12 11:34:51 UTC
README
Respect\Validation
PHP历史上最棒的验证引擎。
- 将复杂的规则简化:
v::numericVal()->positive()->between(1, 255)->validate($input)
。 - 高级报告的粒度控制。
- 150 多个(完全测试)验证规则。
- 非流畅使用的具体API。
了解更多