Symfony messenger extension that makes Domain-Driven Design implementation effortless by providing essential building blocks that keep code understandable.
The core part is a lightweight framework-agnostic library you will use inside the domain layer. On top of that, this package provides ready to use functionalities:
- ✅ Library annotations: Value Objects, Aggregates, Domain Events, Commands
- ✅ Toolkit services: Command handler, Process manager for handling domain events as workflow, ...
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
composer require domain-engine/toolkitThen, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php file of your project:
// config/bundles.php
return [
// ...
DomainEngine\ToolkitBundle\ToolkitBundle::class => ['all' => true],
];