DotKernel is a collection of
PSR-7 Middleware applications
Built on top of the Laminas microframework.
Composed of a set of custom and extended Laminas components.
Laminas
containers
DotKernel is built around the PSR-11 dependency container. We have chosen Laminas Service Manager as our default implementation.
Get Started with Laminas Service Manager
templating
By default, no middleware in Laminas is templated. For DotKernel's Frontend application, we have chosen Twig as the default templating engine.
Get started with Twig
routers
Among the various routing implementations compatible with Expressive, we have chosen FastRoute as DotKernel's default routing library.
Get started with FastRoute
http messages
Laminas, and consequently DotKernel, is built around the PSR-7 standard. It uses Laminas Diactoros as the PSR-7 implementation.
DotKernel components
- dot-authorization: core authorization interfaces
- dot-rbac: defines users roles
- dot-rbac-guard: authorize users based on various criteria
- dot-controller: controller-like middleware for laminas
- dot-session (laminas-session)
- dot-flashmessenger: short-lived session messages
- dot-navigation: easy menu configuration and parsing
- dot-log (laminas-log)
- dot-errorhandler
- dot-annotated-services: creates and injects services with dependencies through annotations
- dot-event (laminas-eventmanager)
- dot-helpers (mezzio/mezzio-helpers)
- dot-twigrenderer extends the twig renderer with useful extensions and customizations