PHPackages                             omgfinally/symfony-validation-constraints - 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. omgfinally/symfony-validation-constraints

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

omgfinally/symfony-validation-constraints
=========================================

Finally a couple more of custom validation constraints for Symfony.

0653PHP

Since Dec 25Pushed 7mo agoCompare

[ Source](https://github.com/omgfinally/symfony-validation-constraints)[ Packagist](https://packagist.org/packages/omgfinally/symfony-validation-constraints)[ RSS](/packages/omgfinally-symfony-validation-constraints/feed)WikiDiscussions main Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

SymfonyValidationConstraints
============================

[](#symfonyvalidationconstraints)

Finally, a couple more of custom validation constraints for Symfony.

The constraints the package provides:

- [`EachElement`](docs/EachElement.md) - checks if every element in the array provided is correctly validated by the other passed Constraints.
- [`OneOfContainerParameters`](docs/OneOfContainerParameters.md) - checks if the value provided is contained inside an array in `parameters` configuration.

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

[](#installation)

```
composer require omgfinally/symfony-validation-constraints
```

You might also need to update `bundles.php`:

```
// config/bundles.php
