tyrellsys/cakephp-validator
最新稳定版本:v5.0.0
Composer 安装命令:
composer require tyrellsys/cakephp-validator
包简介
CakePHP4 Validator that set the validation message
README 文档
README
CakePHP4 Validator that set the validation message
Requirements
The master branch has the following requirements:
- CakePHP >4.0.0
- PHP 7.2 or greater
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require tyrellsys/cakephp-validator
no need plugin load
Config
no configuration
Model validation
namespace App\Model\Table; ... class PostsTable extends Table { protected $_validatorClass = \Tyrellsys\CakePHPValidator\Validation\Validator::class; }
统计信息
- 总下载量: 1.79k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2020-04-13