2017 © Pedro Peláez
 

symfony-bundle extra-validator-bundle

This bundle provides some useful extra validators

image

pixelavengers/extra-validator-bundle

This bundle provides some useful extra validators

  • Thursday, March 22, 2012
  • by ricardclau
  • Repository
  • 2 Watchers
  • 15 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PixelavengersExtraValidatorBundle

Welcome to Pixelavengers Extra Validator Bundle. This bundle provides some useful validators for common website cases., (*1)

Current validators:, (*2)

WorldWide

  • CreditCard, both generic and specific validators for: Visa, Mastercard, American Express, Discover, JCB, Diners
  • CVV

Spain

  • ESSeguridadSocial identifiers for public health system
  • ESPhoneNumber, both mobile and fixed

France

  • FRSocialSecurity identifiers for public health system (thx to npotier)

Build Status, (*3)

Installation

Download via git submodule

git submodule add git://github.com/ricardclau/PixelavengersExtraValidatorBundle.git vendor/bundles/Pixelavengers/Bundle/ExtraValidatorBundle

Download by editing deps file

[PixelavengersExtraValidatorBundle]
    git=http://github.com/ricardclau/PixelavengersExtraValidatorBundle.git
    target=/bundles/Pixelavengers/Bundle/ExtraValidatorBundle
    version=origin/master

Modify autoload.php and instantiate bundle in AppKernel.php

// app/autoload.php
$loader->registerNamespaces(array(
    // ...
    'Pixelavengers'                       => __DIR__.'/../vendor/bundles',
));

public function registerBundles()
{
    $bundles = array(
        // ...
        new Pixelavengers\Bundle\ExtraValidatorBundle\PixelavengersExtraValidatorBundle(),
    );
}

The Versions

22/03 2012

dev-master

9999999-dev

This bundle provides some useful extra validators

  Sources   Download

MIT

The Requires

 

by Ricard Clau

validators