symfony-validator
Installation
SKILL.md
symfony/validator
If the project contains
.ddev/config.yaml, prefix every shell command withddev(full mapping in thesymfonyskill'sreferences/ddev.md). Examples target Symfony 7.4, 8.0 and newer — verify the installed version before using newer features.
When to use
You need to validate data — form input, API payloads, domain invariants.
Replaces
- Hand-rolled
if (!… ) throw …validation respect/validation- Ad-hoc validation in controllers