symfonyform-types-validation

MakFly's avatarfrom MakFly

Build Symfony forms with custom Form Types, validation constraints, data transformers, and proper error handling

⭐26stars🔀4forks📁View on GitHub🕐Updated Dec 30, 2025

When & Why to Use This Skill

This Claude skill streamlines the development of Symfony applications by automating the creation of custom Form Types, implementing complex validation constraints, and configuring data transformers. It ensures high-quality, secure, and maintainable PHP code with robust error handling, significantly reducing manual boilerplate and ensuring adherence to Symfony best practices.

Use Cases

  • Generating complex Symfony Form Types with nested fields and custom validation rules for user input.
  • Implementing Data Transformers to handle seamless conversions between underlying model data and form view data.
  • Configuring advanced validation constraints like UniqueEntity or Callback to ensure data integrity and business logic compliance.
  • Standardizing error handling and form rendering logic across a web application to improve user experience and security.
namesymfony:form-types-validation
descriptionUse when symfony form types validation

symfony:form-types-validation (Micro)

Use when

  • Use when symfony form types validation

Rules

  • Keep changes minimal and focused
  • Ask before running servers/builds/tests
  • Load reference/examples only on explicit request

References

  • reference.md
  • docs/complexity-tiers.md