toa/validator

Toa Validator Component

dev-master 2014-02-24 18:57 UTC

README

This Component extends Symfony Validator Component ~2.1.

Build Status Code Coverage Scrutinizer Quality Score Dependency Status

SensioLabsInsight Latest Stable Version Total Downloads

Requirements

To use Csv constraint you have to install Goodby CSV:

{
    "require": {
        "goodby/csv": "*"
    }
}

To use Audio or Video constraint you have to install PHP FFmpeg:

{
    "require": {
        "php-ffmpeg/php-ffmpeg": "*"
    }
}

Installation

Add this component to your composer.json file:

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

Usage

Read the documentation.

General information to use validation constraints can be found in the Symfony documentation.