omgfinally/symfony-validation-constraints
Composer 安装命令:
composer require omgfinally/symfony-validation-constraints
包简介
Finally a couple more of custom validation constraints for Symfony.
README 文档
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:
统计信息
- 总下载量: 331
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-18