yceruto / ddd-maker-bundle
Domain-Driven Design Maker for Symfony applications
Installs: 1 345
Dependents: 0
Suggesters: 0
Security: 0
Stars: 15
Watchers: 1
Forks: 4
Open Issues: 0
Type:symfony-bundle
pkg:composer/yceruto/ddd-maker-bundle
Requires
- php: >=7.4
- ext-json: *
- symfony/console: ^5.4|^6.0|^7.0
- symfony/framework-bundle: ^5.4|^6.0|^7.0
- symfony/maker-bundle: ^1.36
- yceruto/micro-symfony: ^1.2
README
This bundle assumes you are using https://github.com/yceruto/symfony-ddd-skeleton architecture or similar.
Installation
composer require yceruto/ddd-maker-bundle
Maker
bin/console make:ddd:context adminCreates a new Kernel context skeletonbin/console make:ddd:module catalog/listingCreates a new Module skeletonbin/console make:ddd:event catalog/listing publishedCreates a new Domain Eventbin/console make:ddd:event-subscriber catalog/listing publishedCreates a new Domain Event Subscriberbin/console make:ddd:query-specification catalog/listing search-by-titleCreates a new Query Specificationbin/console make:cqs:command catalog/listing publishCreates a new Command use-casebin/console make:cqs:query catalog/listing findCreates a new Query use-case
Note: In all cases the namespace path (e.g. catalog/listing) will be normalized to the corresponding PHP namespace and
directory structure convention following the DDD approach.
License
This software is published under the MIT License