Pure PHP + PSR skeleton
A minimal sample under samples/pure-php-psr/ shows how Core maps onto plain PHP with PSR-4 autoloading — no host framework required.
| Location | samples/pure-php-psr/ |
| Modules | Ordering, Warehouse (greenfield) |
| Includes | Port sketches, PlaceOrderUseCase, Shared EventDispatcherInterface, Composer PSR-4 |
Why this sample exists
Adapters explain host mapping. This skeleton proves Core can stand alone: composition root, ports, ACL-shaped availability check, and Entity persistence ports without an ORM.
What it is not
- Not a full HTTP framework
- Not a product catalog
- Not a substitute for a host adapter when you ship on a framework
Start here
- Read
samples/pure-php-psr/README.md - Open
PlaceOrderUseCaseandWarehouseAvailabilityPortInterface - Compare with Cross-module ACL and Use cases & DTOs