Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Latest commit

 

History

History
66 lines (44 loc) · 1.09 KB

File metadata and controls

66 lines (44 loc) · 1.09 KB

PUGXExtraValidatorBundle Documentation

Prerequisites

This version of the bundle requires Symfony 2.1 or higher

Installation

  1. Download PUGXExtraValidatorBundle
  2. Enable the Bundle
  3. Usage

1. Download PUGXExtraValidatorBundle

Using composer

Add the following lines in your composer.json:

Use "dev-master" or "2.1.*" depending on which version of Symfony in your composer.json

{
    "require": {    
        "pugx/extravalidator-bundle": "2.2.*"
    }
}

Now, run the composer to download the bundle:

$ php composer.phar update pugx/extravalidator-bundle

2. Enable the bundle

Enable the bundle in the kernel:

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new PUGX\ExtraValidatorBundle\PUGXExtraValidatorBundle(),
    );
}

3. Validators