omgfinally/symfony-validation-constraints 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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 in parameters 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:

统计信息

  • 总下载量: 331
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-01-18