PHPackages                             weew/validator-doctrine-constraints - 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. weew/validator-doctrine-constraints

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

weew/validator-doctrine-constraints
===================================

Doctrine specific constraints for the weew/validator package.

v1.2.2(9y ago)0751MITPHP

Since Jan 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/weew/validator-doctrine-constraints)[ Packagist](https://packagist.org/packages/weew/validator-doctrine-constraints)[ RSS](/packages/weew-validator-doctrine-constraints/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (6)Used By (1)

Doctrine specific validation constraints
========================================

[](#doctrine-specific-validation-constraints)

[![Build Status](https://camo.githubusercontent.com/93c1cee60720058aef13e685338e0cf319041bef3ec4d17f028cd12b4c3663c0/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f776565772f76616c696461746f722d646f637472696e652d636f6e73747261696e74732e737667)](https://travis-ci.org/weew/validator-doctrine-constraints)[![Code Quality](https://camo.githubusercontent.com/e72b3c8b8732587ef8c44ccde492d188fdcb7b0e5e1070a09f4f5e8523fcdbb6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f776565772f76616c696461746f722d646f637472696e652d636f6e73747261696e74732e737667)](https://scrutinizer-ci.com/g/weew/validator-doctrine-constraints)[![Test Coverage](https://camo.githubusercontent.com/3bfaa797b4db7b2403f43976ae57b56b7a5e76c86752cdd2a3673695ec687cc6/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f776565772f76616c696461746f722d646f637472696e652d636f6e73747261696e74732e737667)](https://coveralls.io/github/weew/validator-doctrine-constraints)[![Version](https://camo.githubusercontent.com/5c810e4155cecac31e3b76d8acae3f4a976d4637a22967cd087eb03e5e344a63/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776565772f76616c696461746f722d646f637472696e652d636f6e73747261696e74732e737667)](https://packagist.org/packages/weew/validator-doctrine-constraints)[![Licence](https://camo.githubusercontent.com/7ca4cb948f37d9ae0e939b42728c939d27a3aba4a3be700619b330c46b316191/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776565772f76616c696461746f722d646f637472696e652d636f6e73747261696e74732e737667)](https://packagist.org/packages/weew/validator-doctrine-constraints)

Table of contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Introduction](#introduction)
- [Constraints](#constraints)

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

[](#installation)

`composer require weew/validator-doctrine-constraints`

Introduction
------------

[](#introduction)

This package provides several useful constraints for validation of doctrine entities for the [weew/validator](https://github.com/weew/validator) package.

Constraints
-----------

[](#constraints)

- [Unique](https://github.com/weew/validator-doctrine-constraints/blob/master/src/Weew/Validator/DoctrineConstraints/UniqueConstraint.php)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity67

Established project with proven stability

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 ~45 days

Total

5

Last Release

3631d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/10b2b854b5829dd13a15967c000ed2119b5faef67aca24d94c653c8ac550d85e?d=identicon)[weew](/maintainers/weew)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/weew-validator-doctrine-constraints/health.svg)

```
[![Health](https://phpackages.com/badges/weew-validator-doctrine-constraints/health.svg)](https://phpackages.com/packages/weew-validator-doctrine-constraints)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[api-platform/doctrine-orm

Doctrine ORM bridge

293.9M78](/packages/api-platform-doctrine-orm)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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