jlorente/yii2-validators

A compilation of useful validators for the Yii2 framework.

1.0.6 2021-01-10 21:03 UTC

This package is auto-updated.

Last update: 2024-04-14 03:01:26 UTC


README

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.