定制 chebur/validator-constraints 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

chebur/validator-constraints

Composer 安装命令:

composer require chebur/validator-constraints

包简介

Some symfony validator constraints

README 文档

README

PHP requirements Latest version Total downloads License

Installation

composer require chebur/validator-constraints

List of constraints

OrComposite

Validation will be passed if at least one child constraint validation passed
(Since Symfony 5.1 there is AtLeastOneOf constraint)

KeyExists

Looks into the value if the passed key exists in it.

AbstractConstraintList

Abstract composite constraint. Helpful to create any constraint combinations.
(Since Symfony 5.1 there is Compound constraint)

BreakOnFailure

Composite constraint. Validation by child constraints will be stopped after first error.
(Since Symfony 5.1 there is Sequentially constraint)

AllKey

Composite constraint. Similar to All constraint, but this one validates array keys - not values.

AllUnique

Checks if passed array contains only unique values

IntInString

Checks if passed string contains only valid positive integer not more than PHP_INT_MAX

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-11-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固