Step 00 — Squelette + intégration naïve

3 Bounded Contexts (Sales, Invoicing, LegacyFulfillment) avec :
- Domaines complets (agrégats, VOs, événements, invariants)
- Couche application (commands, queries, ports)
- Infrastructure in-memory (repos, gateway fake)
- Controllers HTTP Symfony
- Couplage naïf synchrone entre BC via NaiveSalesEventPublisher
- 20 tests unitaires et d'intégration passants
This commit is contained in:
2026-03-04 00:27:15 +01:00
commit a4a14e441b
86 changed files with 7059 additions and 0 deletions

34
composer.json Normal file
View File

@@ -0,0 +1,34 @@
{
"name": "roukmoute/ddd-boilerplate",
"description": "MiniShop - DDD Blue Book Boilerplate",
"type": "project",
"license": "MIT",
"require": {
"php": ">=8.5",
"symfony/framework-bundle": "^7.2",
"symfony/console": "^7.2",
"symfony/dotenv": "^7.2",
"symfony/yaml": "^7.2"
},
"require-dev": {
"phpunit/phpunit": "^11.5"
},
"autoload": {
"psr-4": {
"MiniShop\\Sales\\": "src/Sales/",
"MiniShop\\Invoicing\\": "src/Invoicing/",
"MiniShop\\LegacyFulfillment\\": "src/LegacyFulfillment/",
"MiniShop\\Shared\\": "src/Shared/",
"MiniShop\\Contracts\\": "contracts/",
"App\\": "apps/symfony/src/"
}
},
"autoload-dev": {
"psr-4": {
"MiniShop\\Tests\\": "tests/"
}
},
"config": {
"sort-packages": true
}
}