没有合适的资源?快使用搜索试试~ 我知道了~
Validator:库验证器
共18个文件
php:11个
yml:2个
dist:1个
需积分: 5 0 下载量 4 浏览量
2021-07-11
11:27:37
上传
评论
收藏 13KB ZIP 举报
温馨提示
验证器 Validator 是一个小型库,允许您验证大量数据,如整数、字符串、布尔值、数组和日期时间。 Validator 简单易用,调用符合你验证意愿的方法,看看你好不好。 如果验证通过,则所有方法都返回 true,否则返回 false。 这个怎么运作 库的一些使用示例 整数验证器 IntegerValidator 方法列表: 是平等的() isSuperior() isInferior() 在。。。之间() isNegative() isPositive() <?php // Here we check if the integer is equal to number 13 $ validation = \ JB \ Validator \ IntegerValidator :: isEqual ( $ integer , 13 ); // Here we chec
资源推荐
资源详情
资源评论
收起资源包目录
Validator-master.zip (18个子文件)
Validator-master
.gitignore 14B
src
DateTimeValidator.php 362B
ArrayValidator.php 3KB
BooleanValidator.php 1KB
StringValidator.php 3KB
IntegerValidator.php 3KB
.travis.yml 304B
index.php 243B
composer.json 285B
composer.lock 26KB
README.md 4KB
tests
BooleanValidatorTest.php 677B
DateTimeValidatorTest.php 170B
IntegerValidatorTest.php 2KB
ArrayValidatorTest.php 1KB
StringValidatorTest.php 1KB
.scrutinizer.yml 5KB
phpunit.xml.dist 764B
共 18 条
- 1
资源评论
楼小雨
- 粉丝: 22
- 资源: 4694
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功