Request Lifecycle for a Mezzio-Based Application

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 … Read More

ConfigProvider – Bootstrap Modern PHP Applications

In PHP, the ConfigProvider is a class that is part of an application’s bootstrap process. It’s a class or callable that returns configuration data telling the platform which middleware should run, in what order, and sometimes under what conditions. If … Read More

Understanding Middleware

Middleware is code that exists between the request and response, and which can take the incoming request, perform actions based on it, and either complete the response or pass delegation on to the next middleware in the queue. The purpose … Read More