The preferred way to install this extension is through composer.
Either run
composer require mirkhamidov/yii2-jsonvalidator "@dev"
or add
"mirkhamidov/yii2-jsonvalidator": "*"
to the require section of your composer.json
file.
/** @inheritdoc */
public function rules()
{
return ArrayHelper::merge(parent::rules(), [
...,
['params_data', \mirkhamidov\validators\JsonValidator::class],
...,
]);
}