/yii2-validators

A compilation of useful validators for the Yii2 framework

Primary LanguagePHPMIT LicenseMIT

Yii2 Validators (Development Phase)

A compilation of useful validators for the Yii2 framework.

Included Validators

RichTextFilterValidator - Filters the inputs of richtext texts on validation.

AddressValidator - Useful to validate addresses.

ColorValidator - Validates color inputs.

IntegrityValidor - Validates the integrity of the foreign keys of the models.

OccidentalNameValidator - Validates the names of the occidental people.

UsernameValidator - Validates the usernames.

Installation

Include the package as dependency under the composer.json file.

To install, either run

$ php composer.phar require jlorente/yii2-validators "*"

or add

...
    "require": {
        // ... other configurations ...
        "jlorente/yii2-validators": "*"
    }

to the require section of your composer.json file.

Usage

In construction

License

Copyright © 2015 José Lorente Martín jose.lorente.martin@gmail.com.