50% discount in conference replays
2020 and 2021 events
In English, French, German, Polish and Spanish

Validation Constraints Reference

Edit this page

Validation Constraints Reference

The Validator is designed to validate objects against constraints. In real life, a constraint could be: "The cake must not be burned". In Symfony, constraints are similar: They are assertions that a condition is true.

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.
Symfony 5.4 is backed by Private Packagist.