NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #206 most downloaded on Packagist
Provides tools to validate values
Latest stable
v8.1.11
Last release 3 days ago
13 Nov 2026
Ships fairly regularly
a new release about every 2 weeks
Rarely documented
notes for 1 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
807 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
Changelog (https://github.com/symfony/validator/compare/v5.4.28...v5.4.29) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.4.28...v5.4.29)
bug symfony/symfony#48840 [Validator] Dump Valid constraints on debug command (@macintoshplus)
Changelog (https://github.com/symfony/validator/compare/v5.4.27...v5.4.28)
bug symfony/symfony#50788 [Validator] Fix regression with class metadatada on parent classes (@rmikalkenas)
Changelog (https://github.com/symfony/validator/compare/v5.4.25...v5.4.26)
Your coding agent can read these notes before it upgrades. Set up the MCP server →
bug symfony/symfony#50524 Fix Doctrine deprecations (@nicolas-grekas)
Changelog (https://github.com/symfony/validator/compare/v5.4.24...v5.4.25)
bug symfony/symfony#49063 [Messenger] Respect isRetryable decision of the retry strategy for re-delivery (@FlyingDR)
Changelog (https://github.com/symfony/validator/compare/v5.4.23...v5.4.24)
isRetryable decision of the retry strategy for re-delivery (@FlyingDR)bug #50017 Fix support of Enum to ConstraintValidator::formatValue (PhoneixS)
Changelog (https://github.com/symfony/validator/compare/v5.4.22...v5.4.23)
ConstraintValidator::formatValue (PhoneixS)bug #49697 Update BIC validator IBAN mappings (maxbeckers)
Changelog (https://github.com/symfony/validator/compare/v5.4.21...v5.4.22)
bug #49484 Fix translation of AtLeastOneOf constraint message (alexandre-daubois)
Changelog (https://github.com/symfony/validator/compare/v5.4.20...v5.4.21)
bug #48986 Fix Email validator logic (fabpot)
Changelog (https://github.com/symfony/validator/compare/v5.4.18...v5.4.19)
bug #48746 Fix IBAN format for Tunisia and Mauritania (smelesh)
Changelog (https://github.com/symfony/validator/compare/v5.4.16...v5.4.17)
Changelog (https://github.com/symfony/validator/compare/v5.4.14...v5.4.15) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.4.14...v5.4.15)
Changelog (https://github.com/symfony/validator/compare/v5.4.13...v5.4.14) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.4.13...v5.4.14)
bug #47499 Stop to first ULID format violation (ogizanagi)
Changelog (https://github.com/symfony/validator/compare/v5.4.12...v5.4.13)
bug #47211 validate nested constraints only if they are in the same group (xabbuh)
Changelog (https://github.com/symfony/validator/compare/v5.4.11...v5.4.12)
egulias/email-validator needs to be installed (mpdude)bug #46948 : Fix "PHP Warning: Undefined array key 1" in NotCompromisedPasswordValidator (KevinVanSonsbeek)
Changelog (https://github.com/symfony/validator/compare/v5.4.10...v5.4.11)
bug #46545 Fix getting class constraints on debug command (loic425)
Changelog (https://github.com/symfony/validator/compare/v5.4.9...v5.4.10)
Changelog (https://github.com/symfony/validator/compare/v5.4.7...v5.4.8) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.4.7...v5.4.8)
bug #45870 Fix File constraint invalid max size exception message (fancyweb)
Changelog (https://github.com/symfony/validator/compare/v5.4.6...v5.4.7)
Changelog (https://github.com/symfony/validator/compare/v5.4.5...v5.4.6) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.4.5...v5.4.6)
bug #44967 Multi decimal to alpha for CssColor validator (tilimac)
Changelog (https://github.com/symfony/validator/compare/v5.4.4...v5.4.5)
bug #44860 Fix Choice constraint with associative choices array (derrabus)
Changelog (https://github.com/symfony/validator/compare/v5.4.2...v5.4.3)
bug #44473 Restore default locale in ConstraintValidatorTestCase (rodnaph)
Changelog (https://github.com/symfony/validator/compare/v5.4.1...v5.4.2)
Changelog (https://github.com/symfony/validator/compare/v5.4.0...v5.4.1) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.4.0...v5.4.1)
bug #43876 Fix validation for single level domains (HypeMC)
Changelog (https://github.com/symfony/validator/compare/v5.4.0-RC1...v5.4.0)
Cidr constraint to validate CIDR notationsCssColor constraint to validate CSS colorsConstraintViolationList::createFromMessage()Count and Length constraints with "exactly" option enabledChangelog (https://github.com/symfony/validator/compare/v5.4.0-BETA3...v5.4.0-RC1) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.4.0-BETA3...v5.4.0-RC1)
Changelog (https://github.com/symfony/validator/compare/v6.0.0-BETA2...v5.4.0-BETA3) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v6.0.0-BETA2...v5.4.0-BETA3)
Changelog (https://github.com/symfony/validator/compare/v5.4.0-BETA1...v5.4.0-BETA2) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.4.0-BETA1...v5.4.0-BETA2)
feature #40908 Deprecate DoctrineProvider (derrabus)
Changelog (https://github.com/symfony/validator/compare/v5.3.10...v5.4.0-BETA1)
Count and Length constraints with "exactly" option enabled (VladGapanovich)ConstraintViolationAssertion (jordisala1991)ConstraintViolationList::createFromMessage() (lyrixx)bug #44860 Fix Choice constraint with associative choices array (derrabus)
Changelog (https://github.com/symfony/validator/compare/v5.3.13...v5.3.14)
bug #44473 Restore default locale in ConstraintValidatorTestCase (rodnaph)
Changelog (https://github.com/symfony/validator/compare/v5.3.12...v5.3.13)
Changelog (https://github.com/symfony/validator/compare/v5.3.11...v5.3.12) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.3.11...v5.3.12)
Changelog (https://github.com/symfony/validator/compare/v5.3.10...v5.3.11) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.3.10...v5.3.11)
bug #43388 Fixes URL validation for single-char subdomains (DfKimera)
Changelog (https://github.com/symfony/validator/compare/v5.3.9...v5.3.10)
Changelog (https://github.com/symfony/validator/compare/v5.3.7...v5.3.8) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.3.7...v5.3.8)
bug #41684 Fix Url Validator false positives (sidz)
Changelog (https://github.com/symfony/validator/compare/v5.3.6...v5.3.7)
Changelog (https://github.com/symfony/validator/compare/v5.3.5...v5.3.6) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.3.5...v5.3.6)
Changelog (https://github.com/symfony/validator/compare/v5.3.3...v5.3.4) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.3.3...v5.3.4)
Changelog (https://github.com/symfony/validator/compare/v5.3.2...v5.3.3) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.3.2...v5.3.3)
Changelog (https://github.com/symfony/validator/compare/v5.3.1...v5.3.2) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.3.1...v5.3.2)
bug #41463 Fix not null return from "getCollectionValueTypes" (jderusse)
Changelog (https://github.com/symfony/validator/compare/v5.3.0...v5.3.1)
Add the normalizer option to the Unique constraint
normalizer option to the Unique constraintValidation::createIsValidCallable() that returns true/false instead of throwing exceptionsNothing published for this version
Nothing published for this version
Changelog (https://github.com/symfony/validator/compare/v5.2.13...v5.2.14) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.2.13...v5.2.14)
Changelog (https://github.com/symfony/validator/compare/v5.2.11...v5.2.12) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.2.11...v5.2.12)
Changelog (https://github.com/symfony/validator/compare/v5.2.10...v5.2.11) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.2.10...v5.2.11)
Changelog (https://github.com/symfony/validator/compare/v5.2.9...v5.2.10) * no significant changes
Changelog (https://github.com/symfony/validator/compare/v5.2.9...v5.2.10)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
deprecated the allowEmptyString option of the Length constraint
added a Cascade constraint to ease validating nested typed object properties
deprecated the allowEmptyString option of the Length constraint
Before:
use Symfony\Component\Validator\Constraints as Assert;
/**
* @Assert\Length(min=5, allowEmptyString=true)
*/
After:
use Symfony\Component\Validator\Constraints as Assert;
/**
* @Assert\AtLeastOneOf({
* @Assert\Blank(),
* @Assert\Length(min=5)
* })
*/
added the Isin constraint and validator
added the ULID constraint and validator
added support for UUIDv6 in Uuid constraint
enabled the validator to load constraints from PHP attributes
deprecated the NumberConstraintTrait trait
deprecated setting or creating a Doctrine annotation reader via ValidatorBuilder::enableAnnotationMapping(), pass true as first parameter and additionally call setDoctrineAnnotationReader() or addDefaultDoctrineAnnotationReader() to set up the annotation reader
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.