Directory
‹ Back to apps

symfony-api

Generic rules, skills, and agents for Symfony and PHP 8+ REST API backends: PSR-12, strict types, thin controllers, service/DTO/response layering, Doctrine ORM and validation best practices

What’s inside

3 skills
  • Skillcustom-validator-constraintAdd a custom Symfony Validator constraint and validator class. Use when validating DTOs or objects with rules not covered by built-in or existing constraints (e.g. cross-field or entity-existence checks).
  • Skilldoctrine-entity-repositoryCreate or modify Doctrine ORM entities and repositories (ORM and DBAL). Use when adding new entities, tables, relations, or list/report repositories in a Symfony + Doctrine backend.
  • Skillsymfony-api-endpointAdd a new REST endpoint in a Symfony API using controller, service, DTO, and response objects. Use when adding a new API route, CRUD action, or resource endpoint in a Symfony backend that uses thin controllers and service/DTO/response layering.