2017 © Pedro PelĂĄez
 

symfony-bundle extra-validator-bundle

Extra validators for spanish CCC, DNI...

image

devilcius/extra-validator-bundle

Extra validators for spanish CCC, DNI...

  • Tuesday, December 3, 2013
  • by devilcius
  • Repository
  • 1 Watchers
  • 0 Stars
  • 54 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 42 % Grown

The README.md

devilciusExtraValidatorBundle

Build Status, (*1)

This bundle provides validators for common spanish input forms., (*2)

Current validators:, (*3)

CCC

CĂłdigo Cuenta Cliente, (*4)

NIF

NÂș de indetificaciĂłn fiscal, (*5)

Installation

composer

{
    "require": {
        "devilcius/extra-validator-bundle": "dev-master"
    }
}

validation.xml


<constraint-mapping xmlns="http://symfony.com/schema/dic/constraint-mapping"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/constraint-mapping
        http://symfony.com/schema/dic/constraint-mapping/constraint-mapping-1.0.xsd">

    <class name="Acme\DemoBundle\Entity\User">
        <property name="ccc">
            <constraint name="devilcius\ExtraValidatorBundle\Validator\Constraints\Ccc" >
                <option name="message">NÂș de cuenta no vĂĄlido</option>             
            </constraint>
        </property>
        <property name="dni">
            <constraint name="devilcius\ExtraValidatorBundle\Validator\Constraints\Dni" >
                <option name="message">NÂș de DNI no vĂĄlido</option>          
            </constraint>
        </property>
    </class>
</constraint-mapping>

The Versions

03/12 2013

dev-master

9999999-dev https://github.com/devilcius/ExtraValidatorBundle

Extra validators for spanish CCC, DNI...

  Sources   Download

MIT

The Requires

 

by Marcos

symfony2 bundle validators