Skip to content
Validator Component inspired by https://github.com/symfony/Validator.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Constraints
Exception
Provider
Resources
Tests
.scrutinizer.yml
.travis.yml
ConstraintValidatorFactory.php
LICENSE
README.md
composer.json
phpunit.xml.dist

README.md

ToaValidatorComponent

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.

You can’t perform that action at this time.