StackPHP – HttpKernelInterface based middlewares

The HttpKernelInterface models web request and response as PHP objects, giving them value semantics. Stack is a convention for composing HttpKernelInterface middlewares. By wrapping your application in decorators you can add new behaviour from the outside. In the screenshot above Session is a decorator wrapped around Authentication which itself is a decorator wrapped around the […]