controller
Installation
SKILL.md
Symfony Controllers
When to use
- The user needs to write a Symfony controller or action method that handles an HTTP request and returns a response.
- The user needs a Symfony controller action to return JSON for an API endpoint.
- The user needs to read the request body or query string in a Symfony controller and map it to typed arguments or a DTO.
When NOT to use
- Do not put reusable domain or business logic inside a controller; controllers should stay thin and delegate to services.
- Do not use a controller for CLI commands, message handlers, or cron jobs that have no HTTP request/response cycle.