Download the PHP package meilunzhi/webman-validate without Composer
On this page you can find all versions of the php package meilunzhi/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类)
- 支持图片验证
安装
使用
用法跟ThinkPHP完全一致
定义验证器:
验证器调用代码如下:
助手函数(推荐)
自定义函数 functions.php 添加validate()函数
验证器调用代码如下:
All versions of webman-validate with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4.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 meilunzhi/webman-validate contains the following files
Loading the files please wait ....