You don't always need a framework
Project starter pack that provides Dependency Injection and Controllers to handle http requests.
- Dependency Injection (PSR-11 Container)
- Routing (PSR-15 Server Request, PSR-7 Response)
- Middleware Stack (PSR-15 Middleware)
Request to Response path
-
- Middleware Stack
- Request is first processed by CORS middleware and then it is passed to Router
- Middleware Stack
-
- Request method and path is matched against route definition in config/api/base/config.php
-
src/Api/Base/<Controller>::<method>
Dependency Injection
- Defined in config/config-di.php
Routing
- Defined in config/api/base/config.php
Development environment for this project https://github.com/ironexdev/frostnova
- It contains current repository and another "docker" repository as a git submodule