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 8 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.
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
Your coding agent can read these notes before it upgrades. Set up the MCP server →
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
fixed compatibility with PHP7 and up by introducing new constraints (IsNull, IsTrue, IsFalse) and related validators (IsNullValidator, IsTrueValidator
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
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
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
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
copied the constraints Optional and Required to the Symfony\Component\Validator\Constraints\ namespace and deprecated the original classes.
Optional and Required to the
Symfony\Component\Validator\Constraints\ namespace and deprecated the original
classes.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
Nothing published for this version
Nothing published for this version
Nothing published for this version
deprecated ClassMetadataFactoryInterface in favor of the new MetadataFactoryInterface
Validator to ValidatorInterfaceConstraintViolation to the new ConstraintViolationInterfaceConstraintViolationList to the new ConstraintViolationListInterfaceExecutionContext to the new ExecutionContextInterfaceConstraintValidatorInterface::initialize is now type hinted against ExecutionContextInterface instead of ExecutionContextValidator from protected to privateClassMetadataFactoryInterface in favor of the new MetadataFactoryInterfaceClassMetadataFactory::getClassMetadata in favor of getMetadataForMetadataInterface, PropertyMetadataInterface, ClassBasedInterface and PropertyMetadataContainerInterfaceGraphWalker in favor of the new ValidationVisitorInterfaceExecutionContext::addViolationAtPathExecutionContext::addViolationAtSubPath in favor of ExecutionContextInterface::addViolationAtExecutionContext::getCurrentClass in favor of ExecutionContextInterface::getClassNameExecutionContext::getCurrentProperty in favor of ExecutionContextInterface::getPropertyNameExecutionContext::getCurrentValue in favor of ExecutionContextInterface::getValueExecutionContext::getGraphWalker in favor of ExecutionContextInterface::validate and ExecutionContextInterface::validateValueValidatorInterface::validateValue to accept arrays of constraintsValidatorInterface::getMetadataFactory to return a MetadataFactoryInterface instead of a ClassMetadataFactoryInterfaceClassMetadataFactoryInterface type hint from ValidatorBuilderInterface::setMetadataFactory.
As of Symfony 2.3, this method will be typed against MetadataFactoryInterface instead.traverse and deep in the Valid constraint and in GraphWalker::walkReference
are ignored for arrays now. Arrays are always traversed recursively.$message in the constructor of ConstraintViolation$translator and $translationDomain in the constructor of ExecutionContext$translator and $translationDomain in the constructor of GraphWalker$translator and $translationDomain in the constructor of ValidationVisitor$translator and $translationDomain in the constructor of ValidatorsetTranslator() and setTranslationDomain() to ValidatorBuilderInterfaceNothing 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
One column per quarter.