Provides an easy interface for performing Hyper-Text Transfer Protocol (HTTP) requests


This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee. If you have a security issue, please follow our security reporting guidelines. If you wish to take on the role of maintainer, please nominate yourself

You can continue using laminas/laminas-http safely. Its successor will be PSR-7 in a later revision of laminas/laminas-mvc.

Build Status Coverage Status

laminas-http provides the HTTP message abstraction used by laminas-mvc, and also provides an extensible, adapter-driven HTTP client library.

This library does not support PSR-7, as it predates that specification. For PSR-7 support, please see our Diactoros component.


Run the following to install this library:

$ composer require laminas/laminas-http


Browse the documentation online at