PHPackages                             phpmentors/validator-bundle - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. phpmentors/validator-bundle

ActiveSymfony-bundle[Validation &amp; Sanitization](/categories/validation)

phpmentors/validator-bundle
===========================

Validation enhancements for Symfony applications

v1.3.0(7y ago)811.1k3[1 PRs](https://github.com/phpmentors-jp/validator-bundle/pulls)BSD-2-ClausePHPPHP &gt;=5.3.9

Since Apr 30Pushed 3y ago2 watchersCompare

[ Source](https://github.com/phpmentors-jp/validator-bundle)[ Packagist](https://packagist.org/packages/phpmentors/validator-bundle)[ RSS](/packages/phpmentors-validator-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (17)Versions (10)Used By (0)

PHPMentorsValidatorBundle
=========================

[](#phpmentorsvalidatorbundle)

Validation enhancements for Symfony applications

[![Total Downloads](https://camo.githubusercontent.com/802cff5931641162191f3b4b275f8ffb639d6ba14be52e0d87fa18ba4177ee24/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f76616c696461746f722d62756e646c652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/phpmentors/validator-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/498b1af197b8389082c4da5ea5f76f41d64d632771b1c732b5687fd1bcac1c26/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f76616c696461746f722d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/phpmentors/validator-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/558dc788c0365137a8a293a54c21478a23b8c487cd91c7e257f5aa90e75ecef4/68747470733a2f2f706f7365722e707567782e6f72672f7068706d656e746f72732f76616c696461746f722d62756e646c652f762f756e737461626c652e706e67)](https://packagist.org/packages/phpmentors/validator-bundle)[![Build Status](https://camo.githubusercontent.com/4448aca6b57e385c47ac07ea5a888a0e05061986834db577f07ce8b0607ff5bd/68747470733a2f2f7472617669732d63692e6f72672f7068706d656e746f72732d6a702f76616c696461746f722d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/phpmentors-jp/validator-bundle)

Features
--------

[](#features)

- Namespace alias configuration
- Constraints
    - AtLeastOneOf
    - Range
    - ServiceCallback

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

[](#installation)

`PHPMentorsValidatorBundle` can be installed using [Composer](http://getcomposer.org/).

First, add the dependency to `phpmentors/validator-bundle` into your `composer.json` file as the following:

**Stable version**:

```
composer require phpmentors/validator-bundle "1.3.*"

```

**Development version**:

```
composer require phpmentors/validator-bundle "~1.4@dev"

```

Second, add `PHPMentorsValidatorBundle` into your bundles to register in `AppKernel::registerBundles()` as the following:

```
...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            ...
            new PHPMentors\ValidatorBundle\PHPMentorsValidatorBundle(),
        );
        ...
```

Support
-------

[](#support)

If you find a bug or have a question, or want to request a feature, create an issue or pull request for it on [Issues](https://github.com/phpmentors-jp/validator-bundle/issues).

Copyright
---------

[](#copyright)

Copyright (c) 2014-2016, 2018 GOTO Hidenori, KUBO Atsuhiro, and contributors, All rights reserved.

License
-------

[](#license)

[The BSD 2-Clause License](http://opensource.org/licenses/BSD-2-Clause)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 89.2% 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.

###  Release Activity

Cadence

Every ~185 days

Recently: every ~283 days

Total

9

Last Release

2918d ago

Major Versions

v0.1.0 → v1.0.02015-04-17

PHP version history (2 changes)v1.0.0PHP &gt;=5.3.3

v1.1.0PHP &gt;=5.3.9

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a68a4dab8a48ed7cea7379e065bbe9cbb2c68a6718c9d678afa8e0d261f1255?d=identicon)[hidenorigoto](/maintainers/hidenorigoto)

![](https://avatars.githubusercontent.com/u/52985?v=4)[Atsuhiro Kubo](/maintainers/iteman)[@iteman](https://github.com/iteman)

---

Top Contributors

[![iteman](https://avatars.githubusercontent.com/u/52985?v=4)](https://github.com/iteman "iteman (74 commits)")[![hidenorigoto](https://avatars.githubusercontent.com/u/89830?v=4)](https://github.com/hidenorigoto "hidenorigoto (9 commits)")

---

Tags

symfonyvalidatorvalidation

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[rollerworks/password-strength-validator

Password-strength validator for Symfony

1455.7M6](/packages/rollerworks-password-strength-validator)[barbieswimcrew/zip-code-validator

Constraint class for international zipcode validation

772.3M](/packages/barbieswimcrew-zip-code-validator)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)[chameleon-system/chameleon-base

The Chameleon System core.

1026.5k3](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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