# hakazoki/app-web-coteaux architecture

> Architecture diagram of the GitHub repository hakazoki/app-web-coteaux, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-30). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/hakazoki/app-web-coteaux
- Repository: https://github.com/hakazoki/app-web-coteaux

## Overview

This repository is a minimal Symfony web-application skeleton, not a developed domain product: the sampled fixtures contain no entities or seed data, and no controller implementation is present in the tree. The principal visible workflow is an HTTP request entering the Symfony front controller and constructing the application kernel. The tree also shows template, asset, database, security, mail, and messaging configuration areas, but their behavior and wiring were not sampled; those relationships are therefore left unasserted. The README documents local app, PostgreSQL, and Mailpit services.

Main entry points: [`src/Kernel.php`](https://github.com/hakazoki/app-web-coteaux/blob/main/src/Kernel.php) (Symfony kernel), [`templates/base.html.twig`](https://github.com/hakazoki/app-web-coteaux/blob/main/templates/base.html.twig) (Base template), [`public/index.php`](https://github.com/hakazoki/app-web-coteaux/blob/main/public/index.php) (Front controller), [`config/packages/doctrine.yaml`](https://github.com/hakazoki/app-web-coteaux/blob/main/config/packages/doctrine.yaml) (Doctrine configuration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_http["HTTP runtime"]
  node_front["Front controller<br/>[index.php]"]
  node_kernel["Symfony kernel<br/>[Kernel.php]"]
  node_routing["Route configuration<br/>[routes.yaml]"]
end

subgraph group_ui["Presentation assets"]
  node_templates["Base template<br/>[base.html.twig]"]
  node_browser_assets["Browser assets<br/>[app.js]"]
  node_asset_styles["Application styles<br/>[app.css]"]
end

subgraph group_services["Configured services"]
  node_doctrine["Doctrine configuration<br/>[doctrine.yaml]"]
  node_security["Security configuration<br/>[security.yaml]"]
  node_mailer["Mailer configuration<br/>[mailer.yaml]"]
  node_messenger["Messenger configuration<br/>[messenger.yaml]"]
  node_fixtures["Fixture loader<br/>[AppFixtures.php]"]
end

node_visitor(("Web client"))
node_postgres[("PostgreSQL")]
node_mailpit["Mailpit"]

node_visitor -.->|"sends request"| node_front
node_front -->|"constructs"| node_kernel
node_kernel -.->|"loads routes"| node_routing
node_kernel -.->|"renders response"| node_templates
node_templates -.->|"loads assets"| node_browser_assets
node_templates -.->|"loads styles"| node_asset_styles
node_doctrine -.->|"connects"| node_postgres
node_mailer -.->|"delivers mail"| node_mailpit

click node_front "https://github.com/hakazoki/app-web-coteaux/blob/main/public/index.php"
click node_kernel "https://github.com/hakazoki/app-web-coteaux/blob/main/src/Kernel.php"
click node_routing "https://github.com/hakazoki/app-web-coteaux/blob/main/config/routes.yaml"
click node_templates "https://github.com/hakazoki/app-web-coteaux/blob/main/templates/base.html.twig"
click node_browser_assets "https://github.com/hakazoki/app-web-coteaux/blob/main/assets/app.js"
click node_asset_styles "https://github.com/hakazoki/app-web-coteaux/blob/main/assets/styles/app.css"
click node_doctrine "https://github.com/hakazoki/app-web-coteaux/blob/main/config/packages/doctrine.yaml"
click node_security "https://github.com/hakazoki/app-web-coteaux/blob/main/config/packages/security.yaml"
click node_mailer "https://github.com/hakazoki/app-web-coteaux/blob/main/config/packages/mailer.yaml"
click node_messenger "https://github.com/hakazoki/app-web-coteaux/blob/main/config/packages/messenger.yaml"
click node_fixtures "https://github.com/hakazoki/app-web-coteaux/blob/main/src/DataFixtures/AppFixtures.php"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_front,node_kernel,node_routing,node_visitor toneBlue
class node_templates,node_browser_assets,node_asset_styles,node_postgres toneAmber
class node_doctrine,node_security,node_mailer,node_messenger,node_fixtures toneMint
class node_mailpit toneIndigo
```

## Components

### HTTP runtime

- [Front controller](https://github.com/hakazoki/app-web-coteaux/blob/main/public/index.php): `public/index.php`
- [Symfony kernel](https://github.com/hakazoki/app-web-coteaux/blob/main/src/Kernel.php): `src/Kernel.php`
- [Route configuration](https://github.com/hakazoki/app-web-coteaux/blob/main/config/routes.yaml): `config/routes.yaml`

### Presentation assets

- [Base template](https://github.com/hakazoki/app-web-coteaux/blob/main/templates/base.html.twig): `templates/base.html.twig`
- [Browser assets](https://github.com/hakazoki/app-web-coteaux/blob/main/assets/app.js): `assets/app.js`
- [Application styles](https://github.com/hakazoki/app-web-coteaux/blob/main/assets/styles/app.css): `assets/styles/app.css`

### Configured services

- [Doctrine configuration](https://github.com/hakazoki/app-web-coteaux/blob/main/config/packages/doctrine.yaml): `config/packages/doctrine.yaml`
- [Security configuration](https://github.com/hakazoki/app-web-coteaux/blob/main/config/packages/security.yaml): `config/packages/security.yaml`
- [Mailer configuration](https://github.com/hakazoki/app-web-coteaux/blob/main/config/packages/mailer.yaml): `config/packages/mailer.yaml`
- [Messenger configuration](https://github.com/hakazoki/app-web-coteaux/blob/main/config/packages/messenger.yaml): `config/packages/messenger.yaml`
- [Fixture loader](https://github.com/hakazoki/app-web-coteaux/blob/main/src/DataFixtures/AppFixtures.php): `src/DataFixtures/AppFixtures.php`

### Other components

- **Web client**
- **PostgreSQL**
- **Mailpit**

## Connections

- Web client → Front controller: sends request (evidence: `README.md`)
- Front controller → Symfony kernel: constructs (evidence: `public/index.php`)
- Symfony kernel → Route configuration: loads routes
- Symfony kernel → Base template: renders response
- Base template → Browser assets: loads assets
- Base template → Application styles: loads styles
- Doctrine configuration → PostgreSQL: connects (evidence: `README.md`)
- Mailer configuration → Mailpit: delivers mail (evidence: `README.md`)
