PHPackages                             laminas/laminas-diactoros - 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-diactoros

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

laminas/laminas-diactoros
=========================

PSR HTTP Message implementations

3.8.0(7mo ago)548105.8M—3.1%77[22 issues](https://github.com/laminas/laminas-diactoros/issues)[9 PRs](https://github.com/laminas/laminas-diactoros/pulls)20BSD-3-ClausePHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Dec 31Pushed today23 watchersCompare

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

READMEChangelog (10)Dependencies (8)Versions (185)Used By (20)Security (2)

laminas-diactoros
=================

[](#laminas-diactoros)

[![Build Status](https://github.com/laminas/laminas-diactoros/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/laminas/laminas-diactoros/actions/workflows/continuous-integration.yml)[![type-coverage](https://camo.githubusercontent.com/52e85810bed7937f6428a727fdc2fceaf7b049b0d091007a5f26f8bcdd1b7dbf/68747470733a2f2f73686570686572642e6465762f6769746875622f6c616d696e61732f6c616d696e61732d64696163746f726f732f636f7665726167652e737667)](https://shepherd.dev/github/laminas/laminas-diactoros)[![Psalm level](https://camo.githubusercontent.com/9eaa3bbcdeec46b37db32dea91645eb6a45b91f26c99ba4f3a60b076e21406c8/68747470733a2f2f73686570686572642e6465762f6769746875622f6c616d696e61732f6c616d696e61732d64696163746f726f732f6c6576656c2e737667)](https://shepherd.dev/github/laminas/laminas-diactoros)

> ## 🇷🇺 Русским гражданам
>
> [](#-русским-гражданам)
>
> Мы, участники 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!"

> Diactoros (pronunciation: `/dɪʌktɒrɒs/`): an epithet for Hermes, meaning literally, "the messenger."

This package supercedes and replaces [phly/http](https://github.com/phly/http).

`laminas-diactoros` is a PHP package containing implementations of the [PSR-7 HTTP message interfaces](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-7-http-message.md)and [PSR-17 HTTP message factory interfaces](https://www.php-fig.org/psr/psr-17).

- File issues at
- Issue patches to

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

[](#documentation)

Documentation is available at:

-

Source files for documentation are [in the docs/ tree](docs/).

---

Contributing and Support
------------------------

[](#contributing-and-support)

- If you need support with the project, read [the support documentation](https://github.com/laminas/.github/blob/main/SUPPORT.md).
- If you wish to contribute to the project, read the [contributing guidelines](https://github.com/laminas/.github/blob/main/CONTRIBUTING.md) as well as the [Code of Conduct](https://github.com/laminas/.github/blob/main/CODE_OF_CONDUCT.md).
- For reporting security issues, please review our [security policy](https://github.com/laminas/.github/blob/main/SECURITY.md).

###  Health Score

80

—

ExcellentBetter than 100% of packages

Maintenance83

Actively maintained with recent releases

Popularity75

Solid adoption and visibility

Community56

Growing community involvement

Maturity94

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 63.7% 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 ~13 days

Recently: every ~39 days

Total

181

Last Release

64d ago

Major Versions

1.8.7 → 2.0.02019-12-31

1.8.7p1 → 2.0.0p12020-01-07

1.8.7p2 → 2.0.1p22020-03-23

2.25.x-dev → 3.0.02023-05-04

2.26.x-dev → 3.0.x-dev2023-12-12

PHP version history (13 changes)1.0.0PHP &gt;=5.5

1.0.3PHP &gt;=5.4

1.3.10PHP ^5.4 || ^7.0

1.5.0PHP ^5.6 || ^7.0

2.0.0PHP ^7.1

2.5.0PHP ^7.3 || ~8.0.0

2.7.x-devPHP ^7.3 || ~8.0.0 || ~8.1.0

2.15.0PHP ^7.4 || ~8.0.0 || ~8.1.0

2.18.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

3.2.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

3.3.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0

3.5.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

3.8.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 (1395 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (131 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (100 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (83 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (82 commits)")[![gsteel](https://avatars.githubusercontent.com/u/2803720?v=4)](https://github.com/gsteel "gsteel (52 commits)")[![Xerkus](https://avatars.githubusercontent.com/u/725842?v=4)](https://github.com/Xerkus "Xerkus (45 commits)")[![fcabralpacheco](https://avatars.githubusercontent.com/u/8125433?v=4)](https://github.com/fcabralpacheco "fcabralpacheco (36 commits)")[![Maks3w](https://avatars.githubusercontent.com/u/1301698?v=4)](https://github.com/Maks3w "Maks3w (35 commits)")[![boesing](https://avatars.githubusercontent.com/u/2189546?v=4)](https://github.com/boesing "boesing (26 commits)")[![mtymek](https://avatars.githubusercontent.com/u/777893?v=4)](https://github.com/mtymek "mtymek (21 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (21 commits)")[![franzliedke](https://avatars.githubusercontent.com/u/249125?v=4)](https://github.com/franzliedke "franzliedke (18 commits)")[![pine3ree](https://avatars.githubusercontent.com/u/3229979?v=4)](https://github.com/pine3ree "pine3ree (17 commits)")[![TimWolla](https://avatars.githubusercontent.com/u/209270?v=4)](https://github.com/TimWolla "TimWolla (16 commits)")[![froschdesign](https://avatars.githubusercontent.com/u/103362?v=4)](https://github.com/froschdesign "froschdesign (13 commits)")[![ADmad](https://avatars.githubusercontent.com/u/142658?v=4)](https://github.com/ADmad "ADmad (10 commits)")[![settermjd](https://avatars.githubusercontent.com/u/196801?v=4)](https://github.com/settermjd "settermjd (10 commits)")[![stefanotorresi](https://avatars.githubusercontent.com/u/2952427?v=4)](https://github.com/stefanotorresi "stefanotorresi (10 commits)")[![laminas-bot](https://avatars.githubusercontent.com/u/68250880?v=4)](https://github.com/laminas-bot "laminas-bot (9 commits)")

---

Tags

http-messagepsr-17psr-7httppsrpsr-7psr-17laminas

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[psr/http-factory

PSR-17: Common interfaces for PSR-7 HTTP message factories

1.9k692.9M1.9k](/packages/psr-http-factory)[mezzio/mezzio

PSR-15 Middleware Microframework

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

PSR-7 middleware foundation for building and dispatching middleware pipelines

586.6M81](/packages/laminas-laminas-stratigility)[mezzio/mezzio-hal

Hypertext Application Language implementation for PHP and PSR-7

20456.9k6](/packages/mezzio-mezzio-hal)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.0M61](/packages/mezzio-mezzio-router)

PHPackages © 2026

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