elnur/validator-bundle

Common validators

Installs: 33

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

0.1.0 2012-08-09 19:45 UTC

This package is not auto-updated.

Last update: 2024-11-09 14:19:30 UTC


README

Installation

  1. Add this to the deps file:

    [ElnurValidatorBundle]
        git=http://github.com/elnur/ElnurValidatorBundle.git
        target=/bundles/Elnur/ValidatorBundle
    

    And run bin/vendors install.

  2. Register the Elnur namespace in the app/autoload.php file:

    $loader->registerNamespaces(array(
        // ...
        'Elnur'            => __DIR__.'/../vendor/bundles',
    ));
    
  3. Register the bundle in the app/AppKernel.php file:

    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Elnur\ValidatorBundle\ElnurValidatorBundle(),
        );
    }
    

License

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

Resources/meta/LICENSE