omgfinally / symfony-validation-constraints
Finally a couple more of custom validation constraints for Symfony.
Installs: 341
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/omgfinally/symfony-validation-constraints
Requires
- symfony/dependency-injection: ^7.2|^8.0
- symfony/http-kernel: ^7.2|^8.0
- symfony/validator: ^7.2|^8.0
Requires (Dev)
- phpunit/phpunit: ^11
This package is auto-updated.
Last update: 2025-12-25 15:01:46 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 inparametersconfiguration.
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: