yii2-extension yii2-jsonvalidator
Simple JSON validator rule
mirkhamidov/yii2-jsonvalidator
Simple JSON validator rule
- Thursday, March 8, 2018
- by miroff
- Repository
- 1 Watchers
- 0 Stars
- 8 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
yii2-jsonvalidator
Installation
The preferred way to install this extension is through composer., (*1)
Either run, (*2)
composer require mirkhamidov/yii2-jsonvalidator "@dev"
or add, (*3)
"mirkhamidov/yii2-jsonvalidator": "*"
to the require section of your composer.json
file., (*4)
Usage
/** @inheritdoc */
public function rules()
{
return ArrayHelper::merge(parent::rules(), [
...,
['params_data', \mirkhamidov\validators\JsonValidator::class],
...,
]);
}
dev-master
9999999-dev
Simple JSON validator rule
Sources
Download
MIT
The Requires
by
Jasur Mirkhamidov
json
yii2
validator
mirkhamidov
yii2-jsonvalidator
0.1
0.1.0.0
Simple JSON validator rule
Sources
Download
MIT
The Requires
by
Jasur Mirkhamidov
json
yii2
validator
mirkhamidov
yii2-jsonvalidator