calendi/.cursor/rules/symfony.mdc
2025-04-26 03:12:53 +02:00

14 lines
446 B
Plaintext

---
description:
globs:
alwaysApply: true
---
# Architecture
The Symfony project is designed in a domain driven design pattern with 3 Main Folders:
- Application: Symfony application Logic (Controllers etc.)
- Domain: Framework agnostic domain logic
- Infrastructure: e.g. Doctrine
# Updating / Creating Entities
When updating or creating entities, always update and the related DTO classes.
DTO Classes are a representation of a JSON Schema