PHPackages                             php-http/message-factory - 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. php-http/message-factory

Abandoned → [psr/http-factory](/?search=psr%2Fhttp-factory)ArchivedLibrary[HTTP &amp; Networking](/categories/http)

php-http/message-factory
========================

Factory interfaces for PSR-7 HTTP Message

1.1.0(3y ago)1.4k272.5M—0.8%10[4 issues](https://github.com/php-http/message-factory/issues)20MITPHPPHP &gt;=5.4

Since Jun 1Pushed 3y ago4 watchersCompare

[ Source](https://github.com/php-http/message-factory)[ Packagist](https://packagist.org/packages/php-http/message-factory)[ Docs](http://php-http.org)[ RSS](/packages/php-http-message-factory/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (1)Versions (11)Used By (20)

PSR-7 Message Factory
=====================

[](#psr-7-message-factory)

[![Latest Version](https://camo.githubusercontent.com/0df6650cc6a035881790dd43f9332604c0538993716e5f601c6a30d29834c72b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7068702d687474702f6d6573736167652d666163746f72792e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-http/message-factory/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/c9673abffcc0650f885f8a0cce04d59c3ba9487ea96c3ae98b1c9be2a30f0fd7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d687474702f6d6573736167652d666163746f72792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/php-http/message-factory)

**Factory interfaces for PSR-7 HTTP Message.**

Obsolete
--------

[](#obsolete)

The PHP-HTTP factories have become obsolete with the [PSR-17](https://www.php-fig.org/psr/psr-17/) factories standard. All major HTTP client implementors provide [PSR-17 factories](https://packagist.org/packages/psr/http-factory).

This package will remain available for the time being to not break legacy code, but we encourage everybody to move to PSR-17.

Install
-------

[](#install)

Via Composer

```
$ composer require php-http/message-factory
```

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

[](#documentation)

Please see the [official documentation](http://docs.php-http.org/en/latest/message/message-factory.html).

Contributing
------------

[](#contributing)

Please see our [contributing guide](http://docs.php-http.org/en/latest/development/contributing.html).

Security
--------

[](#security)

If you discover any security related issues, please contact us at .

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity76

Solid adoption and visibility

Community42

Growing community involvement

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 80.9% 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 ~410 days

Recently: every ~669 days

Total

8

Last Release

1130d ago

Major Versions

v0.3.0 → v1.0.0-rc12015-12-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e4e105cea62b616d4cb376b08a849b6a428f646998537de150d16a8eb537b90?d=identicon)[mark.sagikazar](/maintainers/mark.sagikazar)

![](https://avatars.githubusercontent.com/u/76576?v=4)[David Buchmann](/maintainers/dbu)[@dbu](https://github.com/dbu)

![](https://www.gravatar.com/avatar/808f1df1f6ccd749b9c985f3b4a8753788e9bf74e7cead639fcf49cd2a714fd0?d=identicon)[egeloen](/maintainers/egeloen)

![](https://www.gravatar.com/avatar/3fb6e13a139230893f783118651540d3d057979fd726fefd135b1b397873010e?d=identicon)[php-http](/maintainers/php-http)

---

Top Contributors

[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (55 commits)")[![dbu](https://avatars.githubusercontent.com/u/76576?v=4)](https://github.com/dbu "dbu (10 commits)")[![ddeboer](https://avatars.githubusercontent.com/u/89267?v=4)](https://github.com/ddeboer "ddeboer (1 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (1 commits)")[![norkunas](https://avatars.githubusercontent.com/u/2722872?v=4)](https://github.com/norkunas "norkunas (1 commits)")

---

Tags

httpstreammessageurifactory

### Embed Badge

![Health badge](/badges/php-http-message-factory/health.svg)

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

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

7.9k1.0B3.2k](/packages/guzzlehttp-psr7)[psr/http-factory

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

1.9k692.9M1.9k](/packages/psr-http-factory)[php-http/multipart-stream-builder

A builder class that help you create a multipart stream

29490.9M224](/packages/php-http-multipart-stream-builder)[ringcentral/psr7

PSR-7 message implementation

15322.2M62](/packages/ringcentral-psr7)[php-http/httplug-bundle

Symfony integration for HTTPlug

38921.0M54](/packages/php-http-httplug-bundle)[workerman/psr7

PSR-7 message implementation that also provides common utility methods

1079.8k10](/packages/workerman-psr7)

PHPackages © 2026

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