alexandrebulete/ddd-doctrine-bundle
Symfony Bundle for the DDD Doctrine Bridge. Provides service wiring and configuration for Doctrine integration.
composer require alexandrebulete/ddd-doctrine-bundle
Add the bundle to your config/bundles.php:
return [
// ...
AlexandreBulete\DddDoctrineBundle\DddDoctrineBundle::class => ['all' => true],
];
This bundle automatically registers services from ddd-doctrine-bridge:
DoctrineRepository base class available for autowiringDoctrinePaginator available for autowiringRegister 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
How can I help you explore Laravel packages today?