PHPackages                             toa/validator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. toa/validator

ActiveLibrary

toa/validator
=============

Toa Validator Component

02.1k1PHP

Since Jul 12Pushed 12y ago2 watchersCompare

[ Source](https://github.com/toaotc/Validator)[ Packagist](https://packagist.org/packages/toa/validator)[ RSS](/packages/toa-validator/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

ToaValidatorComponent
=====================

[](#toavalidatorcomponent)

This Component extends [Symfony Validator Component](https://github.com/symfony/Validator) ~2.1.

[![Build Status](https://camo.githubusercontent.com/228e6ab2aa2d294fb8241e1a0e3fcc593bf79fe8de067b7f84a0d949f8bc1ec8/68747470733a2f2f7472617669732d63692e6f72672f746f616f74632f56616c696461746f722e706e67)](https://travis-ci.org/toaotc/Validator)[![Code Coverage](https://camo.githubusercontent.com/4df473f5ed799bc831819f7cd561b9cb365e8e4b9584b4e2583ec0a4c3e78e97/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746f616f74632f56616c696461746f722f6261646765732f636f7665726167652e706e673f733d34663863323434396163343334323066346161303930656235346634316437643265323238303135)](https://scrutinizer-ci.com/g/toaotc/Validator/)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/d2e9115f75fdfa25a11e21282fd39642d42fbbe05b492ed4ba6ceb3a47c6585d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746f616f74632f56616c696461746f722f6261646765732f7175616c6974792d73636f72652e706e673f733d30376162643730633534303862326661323839626537633337633230623433306130386265373365)](https://scrutinizer-ci.com/g/toaotc/Validator/)[![Dependency Status](https://camo.githubusercontent.com/5393c52ab5d11e3db30e0456f90feccb070d36a12611f85e2993bf3bf461466c/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3532333036373264363332626163313039373030306132352f62616467652e706e67)](https://www.versioneye.com/user/projects/5230672d632bac1097000a25)

[![SensioLabsInsight](https://camo.githubusercontent.com/8fc750eeb858dd0050154a53ec17db66c277f55dd4e2e64fdc5895e73a9713fa/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f38643738363161382d623530302d343231622d393536322d3261666565366439663862622f6d696e692e706e67)](https://insight.sensiolabs.com/projects/8d7861a8-b500-421b-9562-2afee6d9f8bb)[![Latest Stable Version](https://camo.githubusercontent.com/73a30d90dbda61898f983f816fb981b2af736ea9288db5aa9eae703352bf6fa1/68747470733a2f2f706f7365722e707567782e6f72672f746f612f76616c696461746f722f762f737461626c652e706e67 "Latest Stable Version")](https://packagist.org/packages/toa/validator)[![Total Downloads](https://camo.githubusercontent.com/15ffa1580b3b562ba6be3a3b8f2a5ad5e5a3db6f5ea872600212726f053db6ad/68747470733a2f2f706f7365722e707567782e6f72672f746f612f76616c696461746f722f646f776e6c6f6164732e706e67 "Total Downloads")](https://packagist.org/packages/toa/validator)

Requirements
------------

[](#requirements)

To use [Csv](Constraints/Csv.php) constraint you have to install [Goodby CSV](https://github.com/goodby/csv):

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

```

To use [Audio](Constraints/Audio.php) or [Video](Constraints/Video.php) constraint you have to install [PHP FFmpeg](https://github.com/alchemy-fr/PHP-FFmpeg):

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

```

Installation
------------

[](#installation)

Add this component to your `composer.json` file:

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

```

Usage
-----

[](#usage)

Read the [documentation](Resources/doc/index.md).

General information to use validation constraints can be found in the [Symfony documentation](http://symfony.com/doc/current/book/validation.html).

###  Health Score

24

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f2480cea266aedb1b4db4dad54b78b146a0e7442275270417516c40fcb977777?d=identicon)[toaotc](/maintainers/toaotc)

---

Top Contributors

[![toaotc](https://avatars.githubusercontent.com/u/871030?v=4)](https://github.com/toaotc "toaotc (82 commits)")[![lutzportela](https://avatars.githubusercontent.com/u/1962120?v=4)](https://github.com/lutzportela "lutzportela (4 commits)")

### Embed Badge

![Health badge](/badges/toa-validator/health.svg)

```
[![Health](https://phpackages.com/badges/toa-validator/health.svg)](https://phpackages.com/packages/toa-validator)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
