Seamlessly Interconnected Middleware for Enterprise-Level Solutions
The request lifecycle is the sequence of steps that happen from the moment a user makes an HTTP request until the server sends back a response.
The graph below shows how the request is handled by Dotkernel Light (GitHub, documentation), one of the applications in the Dotkernel Headless Platform suite.
Hover over items for description
Entry Point
1. HTTP Request
[public/index.php]
[public/index.php]
2. Service Container
3. Route Registration
4. Middleware Pipeline
[config/pipeline.php]
[config/pipeline.php]
5. Routing
6. Handler
Invocation
7. Custom Logic
Execution in Handler
8. Template
Rendering [twig]
9. Response
Creation
10. Response
Pipeline
11. Response Emitter
HTTP 20x, 30x
HTTP 40x
HTTP 50x
Looking for PHP, Laminas or Mezzio Support?
As part of the Laminas Commercial Vendor Program, Apidemia offers expert technical support and services for:
Leave a Reply