Download the PHP package yulibo/hyperf-validate without Composer
On this page you can find all versions of the php package yulibo/hyperf-validate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package hyperf-validate
hyperf-validate
支持request 和方法场景验证,兼容tp5写法 性能比官方验证器提高50%
安装方法
安装方法 composer require yulibo/hyperf-validate
注:使用验证类方法的注解@Validation 需要用在由DI创建的类才有作用,
注解
@Validation
@RequestValidation
@RequestValidation 参数说明
@Validation 参数说明
验证控制器数据方法如下
例如 验证控制器Admin 的login方法传的数据,需要如下操作
验证类方法数据方法如下
例如 验证AdminService类的login方法传的数据,需要如下操作
All versions of hyperf-validate with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
ext-swoole Version >=4.4
hyperf/config Version ~2.0.0
hyperf/di Version ~2.0.1
hyperf/framework Version ~2.0.0
hyperf/utils Version ~2.0.0
ext-json Version *
ext-swoole Version >=4.4
hyperf/config Version ~2.0.0
hyperf/di Version ~2.0.1
hyperf/framework Version ~2.0.0
hyperf/utils Version ~2.0.0
ext-json Version *
The package yulibo/hyperf-validate contains the following files
Loading the files please wait ...