Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.56 KB

README.md

File metadata and controls

45 lines (34 loc) · 1.56 KB

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