symfony:api-platform-versioning
Api Platform Versioning (Symfony)
Use when
- Designing or evolving API Platform contracts and operations.
- Aligning serialization, validation, and security behavior.
Default workflow
- Define operation-level contract and payload boundaries.
- Implement resource/DTO/provider/processor changes with explicit mapping.
- Apply operation-specific validation and security constraints.
- Validate functional behavior across happy and negative paths.
Guardrails
- Keep API contract explicit and version-aware.
- Avoid exposing internal entity fields implicitly.
- Prevent drift between docs and actual serialization.
Progressive disclosure
- Use this file for execution posture and risk controls.
- Open references when deep implementation details are needed.
Output contract
- API artifacts changed (resource/DTO/provider/processor).
- Contract/security decisions and rationale.
- Functional verification results.
References
reference.mddocs/complexity-tiers.md
More from makfly/superpowers-symfony
symfony:quality-checks
Apply production-grade Symfony architecture and execution workflows with controlled scope and clear checkpoints. Use for quality checks tasks.
443symfony:interfaces-and-autowiring
Apply production-grade Symfony architecture and execution workflows with controlled scope and clear checkpoints. Use for interfaces and autowiring tasks.
377symfony:controller-cleanup
Apply production-grade Symfony architecture and execution workflows with controlled scope and clear checkpoints. Use for controller cleanup tasks.
344symfony:bootstrap-check
Apply production-grade Symfony architecture and execution workflows with controlled scope and clear checkpoints. Use for bootstrap check tasks.
344symfony:cqrs-and-handlers
Apply production-grade Symfony architecture and execution workflows with controlled scope and clear checkpoints. Use for cqrs and handlers tasks.
333symfony:doctrine-migrations
Evolve Symfony Doctrine models and schema safely with integrity, performance, and rollout discipline. Use for doctrine migrations tasks.
329