alexandrebulete / ddd-doctrine-bundle
Symfony Bundle for DDD Doctrine Bridge - Service wiring and configuration
Package info
github.com/AlexandreBulete/ddd-doctrine-bundle
Type:symfony-bundle
pkg:composer/alexandrebulete/ddd-doctrine-bundle
1.1.1
2026-02-05 04:23 UTC
Requires
- php: ^8.2
- alexandrebulete/ddd-doctrine-bridge: ^1.1
- symfony/config: ^7.0 || ^8.0
- symfony/dependency-injection: ^7.0 || ^8.0
- symfony/framework-bundle: ^7.0 || ^8.0
README
Symfony Bundle for the DDD Doctrine Bridge. Provides service wiring and configuration for Doctrine integration.
Installation
composer require alexandrebulete/ddd-doctrine-bundle
Configuration
Add the bundle to your config/bundles.php:
return [ // ... AlexandreBulete\DddDoctrineBundle\DddDoctrineBundle::class => ['all' => true], ];
Features
This bundle automatically registers services from ddd-doctrine-bridge:
DoctrineRepositorybase class available for autowiringDoctrinePaginatoravailable for autowiring
Doctrine Types Registration
Register your custom Doctrine types in config/packages/doctrine.yaml:
doctrine: dbal: types: post_id: App\Post\Infrastructure\Doctrine\Type\PostIdType post_title: App\Post\Infrastructure\Doctrine\Type\PostTitleType