PHPackages                             phpcq/doctrine-validation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. phpcq/doctrine-validation

AbandonedArchivedLibrary[Validation &amp; Sanitization](/categories/validation)

phpcq/doctrine-validation
=========================

Validation tools for doctrine.

1.1.2(10y ago)0741MITPHPPHP &gt;=5.4

Since Jul 9Pushed 10y ago3 watchersCompare

[ Source](https://github.com/phpcq/doctrine-validation)[ Packagist](https://packagist.org/packages/phpcq/doctrine-validation)[ RSS](/packages/phpcq-doctrine-validation/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (4)Versions (9)Used By (0)

[![Version](https://camo.githubusercontent.com/64673543bb5833b3d0f9469dc3cdc4d9445c6e3c1d37bba0e5b4bce44bfaf5de/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70687063712f646f637472696e652d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phpcq/doctrine-validation)[![Stable Build Status](https://camo.githubusercontent.com/539e1c2afde6348d8c8126d8ed051c5384017bc817e129e9f9c81f374a761428/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f70687063712f646f637472696e652d76616c69646174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/phpcq/doctrine-validation)[![Upstream Build Status](https://camo.githubusercontent.com/cba6939d150d75d6dc63ed426dce774c9919c6a86675bb1e4559afa3a6e43391/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f70687063712f646f637472696e652d76616c69646174696f6e2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/phpcq/doctrine-validation)[![License](https://camo.githubusercontent.com/65b6e74622487994d0e5cd6eca997f0341232ef0c9d26baea214245e53a9739f/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f70687063712f646f637472696e652d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/phpcq/doctrine-validation/blob/master/LICENSE)[![Downloads](https://camo.githubusercontent.com/62004452196650ae9eb598893cb529cbe4b08060900663464ffc3273b85b849b/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70687063712f646f637472696e652d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phpcq/doctrine-validation)

Multiple validators for doctrine users
======================================

[](#multiple-validators-for-doctrine-users)

Installation
------------

[](#installation)

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

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

```

Column name validator
---------------------

[](#column-name-validator)

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

### Usage

[](#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

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

7

Last Release

3962d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.3.4

1.0.1PHP &gt;=5.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44649522?v=4)[xtra](/maintainers/xtra)[@xtra](https://github.com/xtra)

![](https://avatars.githubusercontent.com/u/8189209?v=4)[netzmacht](/maintainers/netzmacht)[@netzmacht](https://github.com/netzmacht)

---

Top Contributors

[![tristanlins](https://avatars.githubusercontent.com/u/343404?v=4)](https://github.com/tristanlins "tristanlins (28 commits)")

### Embed Badge

![Health badge](/badges/phpcq-doctrine-validation/health.svg)

```
[![Health](https://phpackages.com/badges/phpcq-doctrine-validation/health.svg)](https://phpackages.com/packages/phpcq-doctrine-validation)
```

###  Alternatives

[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
