macgyer/yii2-data-uri-validator
最新稳定版本:1.0.1
Composer 安装命令:
composer require macgyer/yii2-data-uri-validator
包简介
Data URI validator for Yii2
README 文档
README
Data URI validator for Yii2 framework
Installation
The preferred way of installation is through Composer. If you don't have Composer you can get it here: https://getcomposer.org/
To install the package add the following to the require section of your composer.json:
"require": {
"macgyer/yii2-data-uri-validator": "*"
},
Usage
Just add the validator to your Model class:
// rules
public function rules()
{
return [
// more rules
['some_property', \macgyer\yii2dataurivalidator\DataUriValidator::className()],
];
}
统计信息
- 总下载量: 3.58k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-05-30