PHPackages                             laminas/laminas-http - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. laminas/laminas-http

ActiveLibrary[HTTP &amp; Networking](/categories/http)

laminas/laminas-http
====================

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

2.23.0(5mo ago)3729.5M—1.5%37[6 issues](https://github.com/laminas/laminas-http/issues)[5 PRs](https://github.com/laminas/laminas-http/pulls)20BSD-3-ClausePHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Dec 31Pushed today17 watchersCompare

[ Source](https://github.com/laminas/laminas-http)[ Packagist](https://packagist.org/packages/laminas/laminas-http)[ Docs](https://laminas.dev)[ Fund](https://funding.communitybridge.org/projects/laminas-project)[ RSS](/packages/laminas-laminas-http/feed)WikiDiscussions 2.24.x Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (119)Used By (20)Security (1)

laminas-http
============

[](#laminas-http)

> ## 🇷🇺 Русским гражданам
>
> [](#-русским-гражданам)
>
> Мы, участники Laminas, родились и живем в разных странах. У многих из нас есть друзья, родственники и коллеги как в России, так и в Украине. Некоторые из нас родились в России. Некоторые из нас живут в России. У некоторых бабушки и дедушки сражались с фашистами во Второй мировой войне. Здесь никто не поддерживает фашизм.
>
> У одного из нас есть украинская родственница, которая спаслась из дома вместе с сыном. Поезд задержался из-за бомбежки на дороге впереди. У нас есть друзья, которые прячутся в бомбоубежищах. Мы с тревогой ждем весточки от них после воздушных налетов, которые беспорядочно наносят удары и попадают по больницам, школам, детским садам и домам. Мы не берем это из каких-либо СМИ. Мы наблюдаем это напрямую.
>
> Вы доверяете нам достаточно, чтоб использовать наши программы, и мы просим вас довериться нам вновь. Мы нуждаемся в помощи. Выходите и протестуйте против этой бесполезной войны. Остановите кровопролитие. Скажите "Нет войне!"
>
> ## 🇺🇸 To Citizens of Russia
>
> [](#-to-citizens-of-russia)
>
> We at Laminas come from all over the world. Many of us have friends, family and colleagues in both Russia and Ukraine. Some of us were born in Russia. Some of us currently live in Russia. Some have grandparents who fought Nazis in World War II. Nobody here supports fascism.
>
> One team member has a Ukrainian relative who fled her home with her son. The train was delayed due to bombing on the road ahead. We have friends who are hiding in bomb shelters. We anxiously follow up on them after the air raids, which indiscriminately fire at hospitals, schools, kindergartens and houses. We're not taking this from any media. These are our actual experiences.
>
> You trust us enough to use our software. We ask that you trust us to say the truth on this. We need your help. Go out and protest this unnecessary war. Stop the bloodshed. Say "stop the war!"

[![Build Status](https://camo.githubusercontent.com/6655f06c62dd748c001709bb520ed2106fab50b3725a185bd7a0681efad02879/68747470733a2f2f7472617669732d63692e636f6d2f6c616d696e61732f6c616d696e61732d687474702e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/laminas/laminas-http)[![Coverage Status](https://camo.githubusercontent.com/6febf033240d32b647931f47956bf7433b6275e657d516562cbf817ddd0438b1/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6c616d696e61732f6c616d696e61732d687474702f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/laminas/laminas-http?branch=master)

laminas-http provides the HTTP message abstraction used by [laminas-mvc](https://docs.laminas.dev/laminas-mvc/), and also provides an extensible, adapter-driven HTTP client library.

This library **does not** support [PSR-7](http://www.php-fig.org/psr/psr-7), as it predates that specification. For PSR-7 support, please see our [Diactoros component](https://docs.laminas.dev/laminas-diactoros/).

Installation
------------

[](#installation)

Run the following to install this library:

```
$ composer require laminas/laminas-http
```

Documentation
-------------

[](#documentation)

Browse the documentation online at

Support
-------

[](#support)

- [Issues](https://github.com/laminas/laminas-http/issues/)
- [Chat](https://laminas.dev/chat/)
- [Forum](https://discourse.laminas.dev/)

###  Health Score

75

—

ExcellentBetter than 100% of packages

Maintenance84

Actively maintained with recent releases

Popularity63

Solid adoption and visibility

Community50

Growing community involvement

Maturity92

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 67.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Recently: every ~60 days

Total

116

Last Release

140d ago

Major Versions

2.24.x-dev → 3.0.x-dev2025-12-30

PHP version history (11 changes)2.0.0PHP &gt;=5.3.3

2.10.0PHP ^5.6 || ^7.0

2.3.0PHP &gt;=5.3.23

2.5.2PHP &gt;=5.5

2.5.4PHP ^5.5 || ^7.0

2.14.0PHP ^7.3 || ~8.0.0

2.15.0PHP ^7.3 || ~8.0.0 || ~8.1.0

2.17.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

2.19.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0

2.20.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

2.23.0PHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25943?v=4)[Matthew Weier O'Phinney](/maintainers/weierophinney)[@weierophinney](https://github.com/weierophinney)

---

Top Contributors

[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (4850 commits)")[![Maks3w](https://avatars.githubusercontent.com/u/1301698?v=4)](https://github.com/Maks3w "Maks3w (670 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (422 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (220 commits)")[![ezimuel](https://avatars.githubusercontent.com/u/475967?v=4)](https://github.com/ezimuel "ezimuel (173 commits)")[![EvanDotPro](https://avatars.githubusercontent.com/u/5607?v=4)](https://github.com/EvanDotPro "EvanDotPro (169 commits)")[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (131 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (80 commits)")[![Xerkus](https://avatars.githubusercontent.com/u/725842?v=4)](https://github.com/Xerkus "Xerkus (46 commits)")[![marc-mabe](https://avatars.githubusercontent.com/u/302689?v=4)](https://github.com/marc-mabe "marc-mabe (44 commits)")[![Freeaqingme](https://avatars.githubusercontent.com/u/33034?v=4)](https://github.com/Freeaqingme "Freeaqingme (39 commits)")[![ralphschindler](https://avatars.githubusercontent.com/u/76674?v=4)](https://github.com/ralphschindler "ralphschindler (37 commits)")[![sgehrig](https://avatars.githubusercontent.com/u/43394?v=4)](https://github.com/sgehrig "sgehrig (33 commits)")[![DASPRiD](https://avatars.githubusercontent.com/u/233300?v=4)](https://github.com/DASPRiD "DASPRiD (31 commits)")[![ocean](https://avatars.githubusercontent.com/u/4443?v=4)](https://github.com/ocean "ocean (23 commits)")[![mwillbanks](https://avatars.githubusercontent.com/u/38209?v=4)](https://github.com/mwillbanks "mwillbanks (22 commits)")[![mlocati](https://avatars.githubusercontent.com/u/928116?v=4)](https://github.com/mlocati "mlocati (22 commits)")[![ClemensSahs](https://avatars.githubusercontent.com/u/423633?v=4)](https://github.com/ClemensSahs "ClemensSahs (21 commits)")[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (21 commits)")[![denixport](https://avatars.githubusercontent.com/u/1013355?v=4)](https://github.com/denixport "denixport (20 commits)")

---

Tags

httphttplaminashttp client

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laminas-laminas-http/health.svg)

```
[![Health](https://phpackages.com/badges/laminas-laminas-http/health.svg)](https://phpackages.com/packages/laminas-laminas-http)
```

###  Alternatives

[psr/http-client

Common interface for HTTP clients

1.7k680.7M2.1k](/packages/psr-http-client)[laminas/laminas-diactoros

PSR HTTP Message implementations

548105.8M965](/packages/laminas-laminas-diactoros)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)[mezzio/mezzio

PSR-15 Middleware Microframework

3883.6M97](/packages/mezzio-mezzio)[laminas/laminas-router

Flexible routing system for HTTP and console applications

3520.6M64](/packages/laminas-laminas-router)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
