PHPackages                             php-http/multipart-stream-builder - 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/multipart-stream-builder

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

php-http/multipart-stream-builder
=================================

A builder class that help you create a multipart stream

1.4.2(1y ago)29490.9M—2.4%1120MITPHPPHP ^7.1 || ^8.0CI passing

Since Jul 19Pushed 5mo ago4 watchersCompare

[ Source](https://github.com/php-http/multipart-stream-builder)[ Packagist](https://packagist.org/packages/php-http/multipart-stream-builder)[ Docs](http://php-http.org)[ RSS](/packages/php-http-multipart-stream-builder/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (19)Used By (20)

PSR-7 Multipart Stream Builder
==============================

[](#psr-7-multipart-stream-builder)

[![Latest Version](https://camo.githubusercontent.com/60c9dd4e1bfef55658f34763c4e415d460cb6c8287cb179b88a015380e539ea4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7068702d687474702f6d756c7469706172742d73747265616d2d6275696c6465722e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-http/multipart-stream-builder/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://github.com/php-http/multipart-stream-builder/actions/workflows/tests.yml/badge.svg)](https://github.com/php-http/multipart-stream-builder/actions/workflows/tests.yml)[![Code Coverage](https://camo.githubusercontent.com/a7f95f0543bd616b5d7ccdd79249449411227d85ba1a1cd96e28f6a68b349c05/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7068702d687474702f6d756c7469706172742d73747265616d2d6275696c6465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/php-http/multipart-stream-builder)[![Quality Score](https://camo.githubusercontent.com/a337f15691d240885f15bad2067a7693d2e9a2e502e84a81a106dbb89dcfdd34/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7068702d687474702f6d756c7469706172742d73747265616d2d6275696c6465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/php-http/multipart-stream-builder)[![Total Downloads](https://camo.githubusercontent.com/d3ac067768045d82d9d5a45661db77edc3b27a558946c851746c69e53df594fb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d687474702f6d756c7469706172742d73747265616d2d6275696c6465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/php-http/multipart-stream-builder)

**A builder for Multipart PSR-7 Streams. The builder create streams independenly form any PSR-7 implementation.**

Install
-------

[](#install)

Via Composer

```
$ composer require php-http/multipart-stream-builder
```

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

[](#documentation)

Please see the [official documentation](http://php-http.readthedocs.org/en/latest/components/multipart-stream-builder.html).

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

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

65

—

FairBetter than 99% of packages

Maintenance56

Moderate activity, may be stable

Popularity70

Solid adoption and visibility

Community44

Growing community involvement

Maturity77

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~190 days

Recently: every ~137 days

Total

19

Last Release

159d ago

Major Versions

0.2.0 → 1.0.02017-05-21

PHP version history (4 changes)0.1.0PHP ^5.5 || ^7.0

1.1.0PHP ^7.1

1.1.2PHP ^7.1 || ^8.0

1.x-devPHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/401ccc5eea13c60cf807ae982af00e368e2166e2f26d8eb541dcd881a57385bc?d=identicon)[Nyholm](/maintainers/Nyholm)

![](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/3fb6e13a139230893f783118651540d3d057979fd726fefd135b1b397873010e?d=identicon)[php-http](/maintainers/php-http)

---

Top Contributors

[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (52 commits)")[![dbu](https://avatars.githubusercontent.com/u/76576?v=4)](https://github.com/dbu "dbu (37 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (9 commits)")[![yookoala](https://avatars.githubusercontent.com/u/91274?v=4)](https://github.com/yookoala "yookoala (2 commits)")[![ruudk](https://avatars.githubusercontent.com/u/104180?v=4)](https://github.com/ruudk "ruudk (2 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (1 commits)")[![GreenSuslik](https://avatars.githubusercontent.com/u/16554138?v=4)](https://github.com/GreenSuslik "GreenSuslik (1 commits)")[![chris-lee-lb](https://avatars.githubusercontent.com/u/83692195?v=4)](https://github.com/chris-lee-lb "chris-lee-lb (1 commits)")[![sagikazarmark](https://avatars.githubusercontent.com/u/1226384?v=4)](https://github.com/sagikazarmark "sagikazarmark (1 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")[![WietseWind](https://avatars.githubusercontent.com/u/4756161?v=4)](https://github.com/WietseWind "WietseWind (1 commits)")[![Mats](https://avatars.githubusercontent.com/u/58366?v=4)](https://github.com/Mats "Mats (1 commits)")

---

Tags

httpstreammessagefactorymultipart stream

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-http-multipart-stream-builder/health.svg)

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

###  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/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[php-http/httplug-bundle

Symfony integration for HTTPlug

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

PSR-7 message implementation

15322.2M62](/packages/ringcentral-psr7)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)

PHPackages © 2026

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