This version of the bundle requires Symfony 2.1 or higher
- Download PUGXExtraValidatorBundle
- Enable the Bundle
- Usage
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
Enable the bundle in the kernel:
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new PUGX\ExtraValidatorBundle\PUGXExtraValidatorBundle(),
);
}
-
####Date Validators
-
####Mail Validator
-
####Compare Validator