17 lines
552 B
Plaintext
17 lines
552 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
|
|
|
|
# Code style
|
|
You will always write perfect and strict PHP 8.4 code that aligns to phpstan level 10 rules |