omgfinally / symfony-validation-constraints
Finally a couple more of custom validation constraints for Symfony.
Installs: 167
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- symfony/dependency-injection: ^7.2
- symfony/http-kernel: ^7.2
- symfony/validator: ^7.2
Requires (Dev)
- phpunit/phpunit: ^11
This package is auto-updated.
Last update: 2025-08-26 17:49:45 UTC
README
Finally, a couple more of custom validation constraints for Symfony.
The constraints the package provides:
EachElement
- checks if every element in the array provided is correctly validated by the other passed Constraints.OneOfContainerParameters
- checks if the value provided is contained inside an array inparameters
configuration.
Installation
composer require omgfinally/symfony-validation-constraints
You might also need to update bundles.php
:
// config/bundles.php <?php return [ ... OmgFinally\SymfonyValidationConstraints\SymfonyValidationConstraintsBundle::class => ['all' => true], ];
Usage
For usage, see specific files in docs folder: