1 min readCalm pace · scan the outline anytime

Slim adapter

Slim 4.15.x host mapping for Modular Hexagonal DDD — deep topic pages.

Slim adapter

HostSlim 4.15.x
PHP7.4+ (use 8.2+ in practice)
Researched2026-08
ORM / persistenceChosen by you (Doctrine DBAL/ORM, PDO) — always Infra
Composition rootPHP-DI / Container definitions + route definitions
AsyncQueue worker of your choice (e.g. Symfony Messenger component, bernhard/… )
One-shot apply/apply/slim.full.md
Short URL/slim

Slim is a host, not Core. Domain and Application stay framework-agnostic; the pages below map Core roles onto Slim APIs.

Topic pages

  1. Persistence — Chosen by you (Doctrine DBAL/ORM, PDO) — always Infra quarantine
  2. Composition root — PHP-DI / Container definitions + route definitions
  3. Cross-module bridges — ACL + async
  4. UI delivery — Route callables / Action classes
  5. Tooling — tests, SA, style
  6. Migrations — schema ownership

Design test

If the peer module is deleted and replaced by HTTP, does Application/Domain still compile?

Modular Hexagonal Domain-Driven Design
Core 1.0.0-draft