Expressive allows you to write PSR-7 middleware applications for the web.
PSR-7 is a standard defining HTTP message interfaces; these are the incoming request and outgoing response for your application. By using PSR-7, we ensure that your applications will work in other PSR-7 contexts.
Middleware is any code sitting between a request and a response; it typically analyzes the request to aggregate incoming data, delegates it to another layer to process, and then creates and returns a response. Middleware can and should be relegated only to those tasks, and should be relatively easy to write and maintain.
Middleware is also designed for composability; you should be able to nest middleware and re-use middleware.
With Expressive, you can build PSR-7-based middleware applications:
For more information, read Expressive: Overview and Features
sudo dnf install --advisory=FEDORA-2016-715702a930 \*
Please login to add feedback.