承接 phpcq/doctrine-validation 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

phpcq/doctrine-validation

最新稳定版本:1.1.2

Composer 安装命令:

composer require phpcq/doctrine-validation

包简介

Validation tools for doctrine.

README 文档

README

Version Stable Build Status Upstream Build Status License Downloads

Multiple validators for doctrine users

Installation

Add to your composer.json in the require-dev section:

"phpcq/doctrine-validation": "~1.0"

Column name validator

Validates the column names to make sure you have configured your entities correctly.

Usage

Call the binary, will scan all files matching src/Entity/*.php:

./vendor/bin/validate-doctrine-entity-column-names.php

Optionally you can pass the path to the entity class files:

./vendor/bin/validate-doctrine-entity-column-names.php lib/Doctrine/Entities/*.php

If you prefer camelCase over underscore_case naming (which may be a bad practice for some database systems), you can enable it:

./vendor/bin/validate-doctrine-entity-column-names.php --camel-case

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-09