yii2-extension yii2-json-validator
A Yii2 extension that provides JSON validation
romi45/yii2-json-validator
A Yii2 extension that provides JSON validation
- Wednesday, June 20, 2018
- by romi45
- Repository
- 1 Watchers
- 0 Stars
- 540 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 4 Versions
- 80 % Grown
Yii 2 JSON Validator
, (*1)
A Yii2 extension that provides JSON validation, (*2)
Installation
$ composer require romi45/yii2-json-validator ~1.1
Usage example
<?php
namespace app\models;
use yii\base\Model;
use romi45\yii2jsonvalidator\JsonValidator;
class Foo extends Model
{
public $bar;
public function rules()
{
return [['bar', JsonValidator::class]];
}
}
View public properties in class
JsonValidator
to get info about all available options., (*3)
dev-master
9999999-dev
A Yii2 extension that provides JSON validation
Sources
Download
MIT
The Requires
The Development Requires
by
Roman Agilov
json
yii2
validator
1.2
1.2.0.0
A Yii2 extension that provides JSON validation
Sources
Download
MIT
The Requires
The Development Requires
by
Roman Agilov
json
yii2
validator
v1.1
1.1.0.0
A Yii2 extension that provides JSON validation
Sources
Download
MIT
The Requires
The Development Requires
by
Roman Agilov
json
yii2
validator
v1.0
1.0.0.0
A Yii2 extension that provides JSON validation
Sources
Download
MIT
The Requires
The Development Requires
by
Roman Agilov
json
yii2
validator