Skip to content

OttenCoffee/validation-bundle

Repository files navigation

Validation Bundle

Source Code GitHub license Travis Scrutinizer Scrutinizer Coverage

This bundle provides additional Symfony validation, include:

  • ReCaptcha

Step1: Setting up the Bundle

Download the Bundle

Package can be installed using Composer.

composer require otten/validation-bundle

Enable the Bundle

Enable the bundle in the kernel:

// app/AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Otten\Bundle\ValidationBundle\OttenValidationBundle(),
        );

        // ...
    }
}

Step2: Configuring Validation

License

This bundle is under the MIT license. See the complete license in the bundle