Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Validator Laravel Package

symfony/validator

Symfony Validator component validates values and objects using a constraint-based system inspired by JSR-303 Bean Validation. Supports built-in and custom constraints, rich violation messages, and integration with Symfony forms and frameworks.

View on GitHub
Deep Wiki
Context7
v8.0.8
v7.4.8
v6.4.36
v8.0.7

Changelog (https://github.com/symfony/validator/compare/v8.0.6...v8.0.7)

  • bug #63599 Fix required options check when extending a constraint with a simplified constructor (@nicolas-grekas)
  • bug #63591 Fix when constraint without expression language installed, when using closure expression (@annadamm-check24)
  • bug #63534 Regex bypass when match is false with too big input (@vincent4vx)
v7.4.7

Changelog (https://github.com/symfony/validator/compare/v7.4.6...v7.4.7)

  • bug #63599 Fix required options check when extending a constraint with a simplified constructor (@nicolas-grekas)
  • bug #63591 Fix when constraint without expression language installed, when using closure expression (@annadamm-check24)
  • bug #63534 Regex bypass when match is false with too big input (@vincent4vx)
v6.4.35

Changelog (https://github.com/symfony/validator/compare/v6.4.34...v6.4.35)

  • bug #63534 Regex bypass when match is false with too big input (@vincent4vx)
v8.0.6

Changelog (https://github.com/symfony/validator/compare/v8.0.5...v8.0.6)

  • bug #63476 Correctly handle null allowedVariables in ExpressionSyntaxValidator (@alexandre-daubois)
  • bug #52722 Fix type error for non-array items when Unique::fields is set (@aprat84)
  • bug #63463 Fix required options not validated when constructor calls parent with null (@lacatoire)
  • bug #63353 Fix comparison validator crash on extreme dates (@lacatoire)
  • bug #63349 Fix AbstractComparison deprecation triggered for array values (@lacatoire)
v7.4.6

Changelog (https://github.com/symfony/validator/compare/v7.4.5...v7.4.6)

  • bug #63476 Correctly handle null allowedVariables in ExpressionSyntaxValidator (@alexandre-daubois)
  • bug #52722 Fix type error for non-array items when Unique::fields is set (@aprat84)
  • bug #63463 Fix required options not validated when constructor calls parent with null (@lacatoire)
  • bug #63353 Fix comparison validator crash on extreme dates (@lacatoire)
  • bug #63349 Fix AbstractComparison deprecation triggered for array values (@lacatoire)
v6.4.34

Changelog (https://github.com/symfony/validator/compare/v6.4.33...v6.4.34)

  • bug #52722 Fix type error for non-array items when Unique::fields is set (@aprat84)
  • bug #63353 Fix comparison validator crash on extreme dates (@lacatoire)
v8.0.5
v7.4.5
v7.3.11
v6.4.33
v8.0.4
v7.4.4
v7.3.10
v8.0.3

Changelog (https://github.com/symfony/validator/compare/v8.0.2...v8.0.3)

  • bug symfony/symfony#62745 [Validator] do not use PHPUnit mock objects without configured expectations (@xabbuh)
  • bug symfony/symfony#62716 [Validator] fix handling named arguments in Existence constraint (@xabbuh)
v7.4.3

Changelog (https://github.com/symfony/validator/compare/v7.4.2...v7.4.3)

  • bug symfony/symfony#62745 [Validator] do not use PHPUnit mock objects without configured expectations (@xabbuh)
  • bug symfony/symfony#62716 [Validator] fix handling named arguments in Existence constraint (@xabbuh)
v7.3.9

Changelog (https://github.com/symfony/validator/compare/v7.3.8...v7.3.9)

  • bug symfony/symfony#62745 [Validator] do not use PHPUnit mock objects without configured expectations (@xabbuh)
v6.4.31

Changelog (https://github.com/symfony/validator/compare/v6.4.30...v6.4.31)

  • bug symfony/symfony#62745 [Validator] do not use PHPUnit mock objects without configured expectations (@xabbuh)
v8.0.2

Changelog (https://github.com/symfony/validator/compare/v8.0.1...v8.0.2)

  • bug symfony/symfony#62682 [Serializer][Validator] Attribute metadata no longer requires container.excluded tags (@HypeMC)
v7.4.2

Changelog (https://github.com/symfony/validator/compare/v7.4.1...v7.4.2)

  • bug symfony/symfony#62682 [Serializer][Validator] Attribute metadata no longer requires container.excluded tags (@HypeMC)
v8.0.1
v7.4.1
v7.3.8
v6.4.30
v7.4.0
v8.0.0-RC3
v7.4.0-RC3
v7.4.0-RC1
v7.3.7
v6.4.29
v7.3.6

Changelog (https://github.com/symfony/validator/compare/v7.3.5...v7.3.6)

  • bug symfony/symfony#62197 [Validator] Fix call to undefined getParser() in YamlValidator (@yoeunes)
v8.0.0-BETA2

Changelog (https://github.com/symfony/validator/compare/v8.0.0-BETA1...v8.0.0-BETA2)

  • bug symfony/symfony#62197 [Validator] Fix call to undefined getParser() in YamlValidator (@yoeunes)
v7.4.0-BETA2

Changelog (https://github.com/symfony/validator/compare/v7.4.0-BETA1...v7.4.0-BETA2)

  • bug symfony/symfony#62197 [Validator] Fix call to undefined getParser() in YamlValidator (@yoeunes)
v7.3.5

Changelog (https://github.com/symfony/validator/compare/v7.3.4...v7.3.5)

  • bug symfony/symfony#62028 [Validator] Update regular expression in URL validator (@mjaschen)
v6.4.27

Changelog (https://github.com/symfony/validator/compare/v6.4.26...v6.4.27)

  • bug symfony/symfony#62028 [Validator] Update regular expression in URL validator (@mjaschen)
v8.0.0-BETA1

Changelog (https://github.com/symfony/validator/compare/v7.3.4...v8.0.0-BETA1)

  • feature symfony/symfony#61851 [Validator] remove support for implicit constraint option names in YAML/XML mapping files (@xabbuh)
  • feature symfony/symfony#61850 [Validator] remove support for passing associative arrays to GroupSequence (@xabbuh)
  • feature symfony/symfony#61841 [Validator] deprecate passing an associative array to GroupSequence (@xabbuh)
  • feature symfony/symfony#61791 [Validator] deprecate implicit constraint option names in YAML/XML mapping files (@xabbuh)
  • feature symfony/symfony#60561 [Validator] Add option to allow ANY protocol in Assert\Url constraint (@alekLexis)
  • feature symfony/symfony#61545 [Validator] Add #[ExtendsValidationFor] to declare new constraints for a class (@nicolas-grekas)
  • feature symfony/symfony#61528 [Validator] Allow using attributes to declare compile-time constraint metadata (@nicolas-grekas)
  • feature symfony/symfony#59042 [Validator] Add Video constraint for validating video files (@symfonyaml)
  • feature symfony/symfony#61564 [Serializer][Validator] Add JSON schema for validating and autocompleting YAML config files (@nicolas-grekas)
  • feature symfony/symfony#61540 [Validator] require a top-level domain by default in the Url constraint (@xabbuh)
  • feature symfony/symfony#61424 [HttpKernel][Mime][Serializer][String][Validator] Replace __sleep/wakeup() by __(un)serialize() (@nicolas-grekas)
  • feature symfony/symfony#61423 [Mime] Deprecate implementing __sleep/wakeup() on AbstractPart implementations (@nicolas-grekas)
  • feature symfony/symfony#61418 [Validator] Deprecate implementing __sleep/wakeup() on GenericMetadata implementations (@nicolas-grekas)
  • feature symfony/symfony#61063 [Validator] remove support for generic constraint option handling (@xabbuh)
  • feature symfony/symfony#61255 [Validator] deprecate passing choices as $options argument to Choice constraint (@xabbuh)
  • feature symfony/symfony#60805 [Validator] Add min and max in both error messages of LengthValidator (@VincentLanglet)
  • feature symfony/symfony#61108 [DoctrineBridge][Validator] mark getRequiredOptions()/getDefaultOption() of UniqueEntity as deprecated (@xabbuh)
  • feature symfony/symfony#60801 [Validator] deprecate handling options in the base Constraint class (@xabbuh)
  • feature symfony/symfony#60726 [PropertyInfo] Remove PropertyInfo's Type (@mtarld)
  • feature symfony/symfony#60697 Enforce return types on all components (@nicolas-grekas)
  • feature symfony/symfony#60639 Bump Symfony 8 to PHP >= 8.4 (@nicolas-grekas)
v7.4.0-BETA1

Changelog (https://github.com/symfony/validator/compare/v7.3.4...v7.4.0-BETA1)

  • feature symfony/symfony#61841 [Validator] deprecate passing an associative array to GroupSequence (@xabbuh)
  • feature symfony/symfony#61791 [Validator] deprecate implicit constraint option names in YAML/XML mapping files (@xabbuh)
  • feature symfony/symfony#60561 [Validator] Add option to allow ANY protocol in Assert\Url constraint (@alekLexis)
  • feature symfony/symfony#61545 [Validator] Add #[ExtendsValidationFor] to declare new constraints for a class (@nicolas-grekas)
  • feature symfony/symfony#61528 [Validator] Allow using attributes to declare compile-time constraint metadata (@nicolas-grekas)
  • feature symfony/symfony#59042 [Validator] Add Video constraint for validating video files (@symfonyaml)
  • feature symfony/symfony#61564 [Serializer][Validator] Add JSON schema for validating and autocompleting YAML config files (@nicolas-grekas)
  • feature symfony/symfony#61423 [Mime] Deprecate implementing __sleep/wakeup() on AbstractPart implementations (@nicolas-grekas)
  • feature symfony/symfony#61418 [Validator] Deprecate implementing __sleep/wakeup() on GenericMetadata implementations (@nicolas-grekas)
  • feature symfony/symfony#61255 [Validator] deprecate passing choices as $options argument to Choice constraint (@xabbuh)
  • feature symfony/symfony#60805 [Validator] Add min and max in both error messages of LengthValidator (@VincentLanglet)
  • feature symfony/symfony#61108 [DoctrineBridge][Validator] mark getRequiredOptions()/getDefaultOption() of UniqueEntity as deprecated (@xabbuh)
  • feature symfony/symfony#60801 [Validator] deprecate handling options in the base Constraint class (@xabbuh)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport