domain-engine / toolkit
Implementation of DDD concepts library as Symfony Bundle
Package info
github.com/domain-engine/toolkit
Type:symfony-bundle
pkg:composer/domain-engine/toolkit
Requires
- php: >=8.3
- symfony/config: ^7.0
- symfony/dependency-injection: ^7.0
- symfony/framework-bundle: ^7.0
- symfony/http-kernel: ^7.0
- symfony/messenger: ^7.0
Requires (Dev)
- phpunit/phpunit: ^10.0
- symfony/phpunit-bridge: ^7.0
- symfony/yaml: ^7.3
This package is auto-updated.
Last update: 2026-03-14 19:19:44 UTC
README
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, ...
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Step 1: Download the Bundle
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/toolkit
Step 2: Enable the Bundle
Then, 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], ];