otten/validation-bundle

Provide additional validator for Symfony.

v0.1.0 2016-12-27 05:26 UTC

This package is not auto-updated.

Last update: 2024-05-11 18:07:35 UTC


README

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