This Component extends Symfony Validator Component ~2.1.
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": "*"
}
}
Add this component to your composer.json
file:
{
"require": {
"toa/validator": "dev-master"
}
}
Read the documentation.
General information to use validation constraints can be found in the Symfony documentation.