NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #187 most downloaded on Packagist
Provides tools to validate values
Last release today
29 Sep 2026
Ships fairly regularly
a new release about every 1 weeks
Rarely documented
notes for 1 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
794 releases · first in 2011
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
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
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 Constraint methods setMessage, getMessageTemplate and getMessageParameters
ctype_* assertions in TypeValidatorextraFieldsMessage and missingFieldsMessage
in Collection constraintsetMessage, getMessageTemplate and
getMessageParametersisValid has been renamed to
validate, its return value was dropped. ConstraintValidator still contains
isValid for BCValid are not traversed
recursively anymore by default. Valid contains a new property deep
which enables the BC behavior.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
Your coding agent can read these notes before it upgrades. Set up the MCP server →