alexandrebulete/ddd-doctrine-bundle

Symfony Bundle for DDD Doctrine Bridge - Service wiring and configuration

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/alexandrebulete/ddd-doctrine-bundle

1.0.0 2025-12-20 17:43 UTC

This package is auto-updated.

Last update: 2025-12-20 17:47:17 UTC


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:

  • DoctrineRepository base class available for autowiring
  • DoctrinePaginator available 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