drupal-ddd

Official

DDD patterns for Drupal modules.

Authorsparkfabrik
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Applies Domain-Driven Design to Drupal 11 custom modules, providing clear domain boundaries and a repository-based persistence pattern to reduce coupling with Drupal's Entity API and to enable richer domain behavior.

Core Features & Use Cases

  • Introduces strategic (bounded contexts, ubiquitous language, context maps) and tactical patterns (value objects, entities, aggregates, domain services, domain events, factories, application services, anti-corruption layers).
  • Enforces the Repository Design Pattern for all entity interactions to separate storage concerns from domain logic.
  • Provides reference material to guide architectural decisions, module organization, and cross-module integration.

Quick Start

Read repository-pattern.md and start applying the repository pattern in your Drupal modules.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: drupal-ddd
Download link: https://github.com/sparkfabrik/sf-awesome-copilot/archive/main.zip#drupal-ddd

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.