A compilation of useful validators for the Yii2 framework.
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.
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.
In construction
Copyright © 2015 José Lorente Martín jose.lorente.martin@gmail.com.