2017 © Pedro Peláez
 

symfony-bundle validator-bundle

Validator Bundle for Symfony2

image

toa/validator-bundle

Validator Bundle for Symfony2

  • Saturday, December 14, 2013
  • by toaotc
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,708 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 1 % Grown

The README.md

ToaValidatorBundle

This bundle integrates ToaValidatorComponent into Symfony ~2.1 projects., (*1)

Build Status Code Coverage Scrutinizer Quality Score Dependency Status, (*2)

SensioLabsInsight Latest Stable Version Total Downloads, (*3)

Installation

Add this bundle to your composer.json file:, (*4)

{
    "require": {
        "toa/validator-bundle": "dev-master"
    }
}

Register the bundle in app/AppKernel.php:, (*5)

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Toa\Bundle\ValidatorBundle\ToaValidatorBundle(),
    );
}

Configuration

Enable the bundle's constraints in app/config/config.yml:, (*6)

# app/config/config.yml
toa_validator:
    csv: true
    audio: true
    video: true

If you set audio: true or video: true you can configure the paths to the ffmpeg/ffprobe binaries in app/config/parameters.yml:, (*7)

parameters:
    toa_validator.helper.ffmpeg.binary_ffmpeg:  /usr/bin/ffmpeg  #default
    toa_validator.helper.ffmpeg.binary_ffprobe: /usr/bin/ffprobe #default

Credits

The ffmpeg.xml is heavily inspired by Symfony ffmpeg bundle., (*8)

The Versions

14/12 2013

dev-master

9999999-dev https://github.com/toaotc/ValidatorBundle

Validator Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

The Development Requires

by Enrico Thies

audio csv video validator