txthinking/validation
最新稳定版本:v5.2
Composer 安装命令:
composer require txthinking/validation
包简介
Use Laravel 5 validation as a standalone component.
关键字:
README 文档
README
Installation
Use Laravel 5 validation as a standalone component
$ composer require txthinking/validation
Usage
<?php
use Tx\Validator;
$v = Validator::make(
['name' => 'Day007'],
['name' => 'required|max:5'],
['name.max' => 'who are u 007']
);
if ($v->fails()){
var_dump($v->messages());
}
Documentation
统计信息
- 总下载量: 729
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-14