# PSR-17: HTTP Factories

> Common interfaces for factories that create PSR-7 HTTP requests, responses, streams and URIs in PHP, so a library can build HTTP messages without depending on one implementation. Its reference interfaces are the psr/http-factory package.

Source: https://talira.ai/standards/psr-17
Every standard: https://talira.ai/standards.md

- Maintained by: PHP Framework Interop Group (PHP-FIG)[^1]
- Status: Released[^2]
- Homepage: https://www.php-fig.org/psr/psr-17/
- Specification: https://www.php-fig.org/psr/psr-17/
- Related: [PSR-7](https://talira.ai/standards/psr-7.md), [PSR-18](https://talira.ai/standards/psr-18.md)

## Supported by

Talira lists 3 products that support PSR-17.

- [laminas-diactoros](https://talira.ai/catalog/laminas-diactoros-j7k429m0.md)[^3]: PSR-7 HTTP messages and PSR-17 factories for PHP, from Laminas
- [HTTPlug](https://talira.ai/catalog/httplug-36wnz3f1.md)[^4]: HTTP client abstraction and plugins for PHP
- [nyholm/psr7](https://talira.ai/catalog/nyholm-psr7-26768wgn.md)[^5]: Small, strict and fast PSR-7 and PSR-17 implementation for PHP

Know a product that supports PSR-17? Report it on https://talira.ai/standards/psr-17 or with the MCP server's `report_problem` tool (kind `wrong_fact`, the listing, and fact `standards[psr-17]`).

## Sources

[^1]: https://www.php-fig.org/psr/psr-17/ (checked 26 Nov 2026)
[^2]: https://www.php-fig.org/psr/ (checked 26 Nov 2026)
[^3]: https://github.com/laminas/laminas-diactoros/blob/3.9.x/README.md (checked 28 Nov 2026)
[^4]: https://github.com/php-http/discovery/blob/1.x/README.md (checked 28 Nov 2026)
[^5]: https://github.com/Nyholm/psr7/blob/master/README.md (checked 28 Nov 2026)
