# laminas-diactoros

> PSR-7 HTTP messages and PSR-17 factories for PHP, from Laminas

Source: https://talira.ai/catalog/laminas-diactoros-j7k429m0
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / http types](https://talira.ai/categories/libraries/http-types), [languages / php](https://talira.ai/categories/languages/php)
- Licence: BSD-3-Clause[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Supports: [PSR-7](https://talira.ai/standards/psr-7.md)[^1], [PSR-17](https://talira.ai/standards/psr-17.md)[^1]
- Backed by: [Laminas Project](https://talira.ai/orgs/laminas-project.md)

laminas-diactoros is a PHP package of implementations of the PSR-7 HTTP message interfaces and the PSR-17 HTTP message factory interfaces. It's part of the Laminas Project and replaces the earlier phly/http package.

## Links

- GitHub: https://github.com/laminas/laminas-diactoros
- Docs: https://docs.laminas.dev/laminas-diactoros/

## Problems it solves

- use standard PSR-7 request and response objects in a PHP app
- create PSR-7 messages with PSR-17 factories
- pick a PSR-7 implementation for a PHP middleware stack

## Features

- implementations of the PSR-7 HTTP message interfaces
- implementations of the PSR-17 HTTP message factories
- documentation at docs.laminas.dev

## Trust

Overall: 0.53 out of 1.
Signals: maintenance 0.76, adoption 0.55, momentum 0.27, community 0.83, backing 0.30, extensibility 0.00.

- last commit 26 days ago
- 24 commits in the last 90 days
- latest release 3.10.0 25 days ago
- 556 GitHub stars
- 120 contributors
- accepts sponsorship (Custom)
- backed by Laminas Project

## Alternatives

- [nyholm/psr7](https://talira.ai/catalog/nyholm-psr7-26768wgn.md): Small, strict and fast PSR-7 and PSR-17 implementation for PHP
- [Slim-Psr7](https://talira.ai/catalog/slim-psr7-0wdd9hdh.md): Strict PSR-7 HTTP message implementation from the Slim Framework
- [HTTP Factory for Guzzle](https://talira.ai/catalog/http-factory-for-guzzle-wsgaabh4.md): PSR-17 HTTP factory implemented on Guzzle's PSR-7 messages

## Sources

[^1]: https://github.com/laminas/laminas-diactoros/blob/3.9.x/README.md (checked 28 Nov 2026)
[^2]: https://github.com/laminas/laminas-diactoros/blob/3.9.x/LICENSE.md (checked 28 Nov 2026)
