Back to Vol 22, Issue 2

PHP Architect · Vol 22, Issue 2 · February 2023

PSR Pickup: PSR-15: HTTP Server Request Handlers

by Frank Wallen

This month we’re introducing PSR-15, which proposes standards for handling and responding to HTTP requests through request handlers and middleware. A request handler receives an HTTP message (see PSR-7 , processes the request, and returns a response. A middleware component processes incoming requests, often in combination with other middleware, and will perform specific actions before the receiving application handles the request. There are two github repositories for this PSR: Server Request Handlers for Middleware (http-server-handler) and HTTP Server Middleware (http-server-middleware).

The full article is in PHP Architect Vol 22, Issue 2. Subscribe to read it and every new issue.

Subscribe
Frank Wallen

About the author

Frank Wallen

Frank Wallen is a PHP developer, musician, and tabletop gaming geek (really a gamer geek in general). He is also the proud father of two amazing young men and grandfather to two beautiful children who light up his life. He is from Southern and Baja California and dreams of having his own Rancherito where he can live with his family, have a dog, and, of course, a cat.

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →