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
35 lines
924 B
JSON
35 lines
924 B
JSON
{
|
|
"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
|
|
}
|
|
}
|