Laravel adapter
| Host | Laravel 13.x (PHP ≥ 8.3) |
| Researched | 2026-08 |
| Core | This site — 1.0.0-draft |
| One-shot apply | /apply/laravel.full.md |
Laravel is a host, not Core. Prefer the one-shot for agent bootstrap. HTML entry: /laravel.
What maps where (Laravel 13)
| Core concept | Laravel 13 place |
|---|---|
| Module root | app/Modules/{Module}/ (PSR-4) |
| Shared kernel | app/Shared/ |
| Composition root | Module Application/Providers/*ServiceProvider.php registered in bootstrap/providers.php |
| Persistence | Infrastructure/Persistence/Eloquent/ |
| ACL adapter | Infrastructure/ExternalServices/…AclAdapter.php |
| Event listener | Queued Infra listener / job → inbound Use Case |
| UI | Controllers, Form Requests; optional Filament under UI/Filament/ |
Laravel 13 continues the slim app structure (bootstrap/app.php, optional install:api). Framework helpers and new first-party features must not enter Domain/Use Cases — ports only.
Topic pages
- Persistence (Eloquent)
- Composition root
- Cross-module bridges
- UI delivery
- Filament UI (optional admin)
- Tooling
- Migrations
Design test
If the peer module is deleted and replaced by HTTP, does Application/Domain still compile?