Skip to content

m1roff/yii2-jsonvalidator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

yii2-jsonvalidator

Installation

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.

Usage

/** @inheritdoc */
public function rules()
{
    return ArrayHelper::merge(parent::rules(), [
        ...,
        ['params_data', \mirkhamidov\validators\JsonValidator::class],
        ...,
    ]);
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages