Spiral composition root
Host: Spiral 3.17.x (PHP ≥ 8.1) · Researched 2026-08
One-shot:/apply/spiral.full.md· Short:/spiral
Bootloaders register bindings and interceptors — composition root.
public function boot(ContainerInterface $container): void
{
// bind ports → adapters
}
Keep business rules out of bootloaders. Long-living RoadRunner workers make clean boundaries even more important (no request-scoped leakage into Domain statics).