laminas-diactoros is a PHP package containing implementations of the accepted PSR-7 HTTP message interfaces, as well as a "server" implementation similar to node's http.Server.

This package exists:

  • to provide an implementation of PSR-7 HTTP message interfaces
  • with relation to server-side applications.
  • to provide a common methodology for marshaling a request from the server environment.