This bundle assumes you are using https://github.com/yceruto/symfony-ddd-skeleton architecture or similar.
composer require yceruto/ddd-maker-bundle
bin/console make:ddd:context admin
Creates a new Kernel context skeletonbin/console make:ddd:module catalog/listing
Creates a new Module skeletonbin/console make:ddd:event catalog/listing published
Creates a new Domain Eventbin/console make:ddd:event-subscriber catalog/listing published
Creates a new Domain Event Subscriberbin/console make:ddd:query-specification catalog/listing search-by-title
Creates a new Query Specificationbin/console make:cqs:command catalog/listing publish
Creates a new Command use-casebin/console make:cqs:query catalog/listing find
Creates 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.
This software is published under the MIT License