Download the PHP package php-woox/webman-validate without Composer
On this page you can find all versions of the php package php-woox/webman-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 webman-validate
php-woox/webman-validate
基于ThinkPHP6修改的可用于 webman 的通用validate数据验证器。
安装
基础用法
验证器调用代码如下:
$data = [
'name' => 'codeloving',
'age' => 24,
'email' => '[email protected]'
];
$validate = new app\index\validate\UserValidate;
if (!$validate->check($data)) {
var_dump($validate->getError());
}
助手函数(推荐)
验证错误会自动抛出异常
使用面板Facade
更多用法可以参考6.0完全开发手册的验证章节
All versions of webman-validate with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
ext-mbstring Version *
ext-ctype Version *
ext-mbstring Version *
ext-ctype Version *
The package php-woox/webman-validate contains the following files
Loading the files please wait ....