2017 © Pedro Peláez
 

yii-extension yii2-mexvalidators

Two data validators for Mexico-specific data: CURP and RFC.

image

ktaris/yii2-mexvalidators

Two data validators for Mexico-specific data: CURP and RFC.

  • Thursday, October 8, 2015
  • by ramoscarlos
  • Repository
  • 3 Watchers
  • 0 Stars
  • 2,263 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 3 Open issues
  • 2 Versions
  • 33 % Grown

The README.md

Yii2 Mexico Data Validators (yii2-mexvalidators)

Validators for two data strings used in Mexico for identity, RFC and CURP, for use with the [Yii 2.* framework][1]., (*1)

Installation

Add dependency to your composer.json file:, (*2)

{
    "require": {
        "ktaris/yii2-mexvalidators": "0.0.1"
    }
}

Usage

In order to use the validator, you need to provide the full path to the validator in the model:, (*3)

public function rules()
{
    return [
       [['rfc'], RfcValidator::className()],
       [['curp'], CurpValidator::className()],
    ];
}

The Versions

08/10 2015

dev-master

9999999-dev https://github.com/ktaris/yii2-mexvalidators

Two data validators for Mexico-specific data: CURP and RFC.

  Sources   Download

MIT

The Requires

 

by Carlos Ramos

yii2 validators mexico

08/10 2015

0.0.1

0.0.1.0 https://github.com/ktaris/yii2-mexvalidators

Two data validators for Mexico-specific data: CURP and RFC.

  Sources   Download

MIT

The Requires

 

by Carlos Ramos

yii2 validators mexico