PHPackages                             alexandrebulete/ddd-symfony-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. alexandrebulete/ddd-symfony-bundle

ActiveSymfony-bundle[API Development](/categories/api)

alexandrebulete/ddd-symfony-bundle
==================================

Symfony Bundle for DDD Foundation - Messenger Command/Query Bus integration

1.1.1(3mo ago)114↓50%1MITPHPPHP ^8.2

Since Dec 22Pushed 3mo agoCompare

[ Source](https://github.com/AlexandreBulete/ddd-symfony-bundle)[ Packagist](https://packagist.org/packages/alexandrebulete/ddd-symfony-bundle)[ RSS](/packages/alexandrebulete-ddd-symfony-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (4)Used By (1)

DDD Symfony Bundle
==================

[](#ddd-symfony-bundle)

Symfony Bundle for DDD Foundation. Provides Messenger integration for Command/Query buses and a base Kernel for DDD projects.

Installation
------------

[](#installation)

```
composer require alexandrebulete/ddd-symfony-bundle
```

Configuration
-------------

[](#configuration)

Add the bundle to your `config/bundles.php`:

```
return [
    // ...
    AlexandreBulete\DddSymfonyBundle\DddSymfonyBundle::class => ['all' => true],
];
```

Features
--------

[](#features)

### DddKernel - Auto-import Bounded Contexts

[](#dddkernel---auto-import-bounded-contexts)

The bundle provides a `DddKernel` that automatically imports services, packages, and routes from your Bounded Contexts.

#### Setup

[](#setup)

Extend `DddKernel` in your application's `src/Kernel.php`:

```
