3 min readCalm pace · scan the outline anytime

Adapters overview

Host mappings for Modular Hexagonal DDD — full frameworks and PSR middleware stacks.

Adapters

Adapters explain how Core maps onto a host. They must not rewrite Core rules. Each host has deep topic pages (persistence, composition root, cross-module, UI, tooling, migrations) plus a one-shot apply file for agents.

Baselines researched 2026-08.

Full-stack hosts

HostVersionOne-shotDeep docs
Laravel13.xlaravel.full.mdAdapter
Symfony8.1.xsymfony.full.mdAdapter
YiiYii3 / Yii2yii.full.mdAdapter
CodeIgniter4.7.xcodeigniter.full.mdAdapter
CakePHP5.4.xcakephp.full.mdAdapter
Spiral3.17.xspiral.full.mdAdapter

Middleware / micro hosts (PSR-friendly)

These are excellent fits for hexagonal ports & adapters (you choose ORM/queue):

HostVersionOne-shotDeep docs
Slim4.15.xslim.full.mdAdapter
Mezzio3.28.xmezzio.full.mdAdapter

Comparison (composition & persistence)

ConcernLaravelSymfonyYii3CI4CakePHPSpiralSlimMezzio
CompositionServiceProviderservices.yamlconfig diServices.phpPlugin services()BootloaderPHP-DI defsConfigProvider
Typical ORMEloquentDoctrineCycleCI ModelCakeORMCyclebring-your-ownbring-your-own
AsyncQueue/jobsMessengerQueueCommands/queueEvents/queueRoadRunnerbring-your-ownbring-your-own

Topic shape (every host)

  1. Persistence
  2. Composition root
  3. Cross-module bridges
  4. UI delivery
  5. Tooling
  6. Migrations

Laravel additionally documents Filament.

Reminder

Core examples stay greenfield (Ordering, Warehouse, …). Agent entry: /v1/adopt/apply · /llms.txt.

Modular Hexagonal Domain-Driven Design
Core 1.0.0-draft