Installation

Install this library using composer:

$ composer require laminas/laminas-diactoros

laminas-diactoros has the following dependencies (which are managed by Composer):

  • psr/http-message, which defines interfaces for HTTP messages, including requests and responses. laminas-diactoros provides implementations of each of these.

  • psr/http-factory, which defines interfaces for HTTP message factories. laminas-diactoros provides implementations of each of these.