Default framework dependencies¶
Framework DI module¶
It loads the following dependencies by default:
Interfaces¶
See implementations and shared instances.
HTTP¶
- PSR-7
Psr\Http\Message\ServerRequestInterface - PSR-7
Psr\Http\Message\ResponseInterface Koded\Framework\RequestKoded\Framework\Response
Authentication¶
-
Framework\Auth\AuthBackendUsed in the AuthMiddleware -
Framework\Auth\AuthProcessorExecutes the
authenticate()in the AuthMiddleware
Application should override the
AuthBackendto provide its own authentication storage and logic (i.e. database).The
AuthProcessorparses the credentials and may be overridden to support different types of auth mechanisms (i.e. JWT)
Utility¶
- PSR-16
Psr\SimpleCache\CacheInterface - PSR-3
Psr\Log\LoggerInterface Koded\Stdlib\Configuration
Middleware¶
Koded uses PSR-15 middlewares. More details on the middleware page
Bindings¶
Anything that's bound by the default DI module can be replaced with custom implementation(s) in your application DI module(s). The default classes are from the Koded libraries.