Download the PHP package yzh52521/webman-validate without Composer
On this page you can find all versions of the php package yzh52521/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
webman-validate
基于PHP7.4 + 的Validate实现。基于ThinkPHP6修改的可用于 webman 的通用validate数据验证器。
- 支持助手函数validate(),无需手动创建。
- 支持场景验证scene
- 支持表单令牌token
- 支持unique唯一性验证(基于TP think-orm Db类)
- 支持图片验证
安装
使用
用法跟TP6完全一致
定义验证器:
验证器调用代码如下:
助手函数(推荐)
自定义函数 functions.php 添加validate()函数
验证器调用代码如下:
更多用法可以参考6.0完全开发手册的验证章节
All versions of webman-validate with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2.0
symfony/polyfill-php80 Version ^1.19
symfony/translation Version ^5.4|^6.0
symfony/polyfill-php80 Version ^1.19
symfony/translation Version ^5.4|^6.0
The package yzh52521/webman-validate contains the following files
Loading the files please wait ....