A dead simple Action-Domain-Responder pattern example with no framework. Compatible with PSR-15 HTTP Server Request Handlers and PSR-17 HTTP Factories.
composer create-project n1215/simple-adr
cd simple-adr
php -S localhost:8000 -t public
and access
- entry point: public/index.php
- Action: \N1215\SimpleAdr\Action\UserShowAction
- Domain: \N1215\SimpleAdr\Domain\UserShowUseCase
- Responder: \N1215\SimpleAdr\Responder\UserShowJsonResponder
The MIT License (MIT). Please see LICENSE for more information.