Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Multipart Stream Builder Laravel Package

php-http/multipart-stream-builder

Build multipart/form-data PSR-7 streams from fields and files, independent of any specific PSR-7 implementation. Useful for composing HTTP request bodies for uploads and complex forms, with easy integration via Composer in php-http based clients.

View on GitHub
Deep Wiki
Context7
1.4.2
  • Fix phpdoc syntax.
1.4.1
  • Fix phpdoc for addResource options to make the options not required.
1.4.0
  • No longer automatically add a Content-Length header for each part in MultipartStreamBuilder class to comply with RFC 7578 section 4.8.
1.3.1
  • Added missing mimetype for .webp images.
1.3.0
  • Removed unnecessary dependency on deprecated php-http/message-factory
  • Allow psr/http-message 2.*
  • Also skip setting filename if URI starts with data://
1.2.0
  • Refactored MultipartStreamBuilder to clean up and allow injecting data without a filename
  • Dynamically use memory or temp file to buffer the stream content.
1.1.2
  • Support PHP 8.0
1.1.1
  • Fixed mistake in PHPDoc type.
1.1.0
  • Added support for PSR-17 factories.
  • Dropped support for PHP < 7.1
1.0.0

No changes from 0.2.0.

0.2.0

You may do a BC update to version 0.2.0 if you are sure that you are not adding multiple resources with the same name to the Builder.

Fixed

  • Make sure one can add resources with same name without overwrite.
0.1.6

Fixed

  • Performance improvements by avoid using uniqid().
0.1.5

Fixed

  • Support for non-readable streams. This fix was needed because flaws in Guzzle, Zend and Slims implementations of PSR-7.
0.1.4

Added

  • Added support for resetting the builder
0.1.3

Added

  • Added CustomMimetypeHelper to allow you to configure custom mimetypes.

Changed

  • Using regular expression instead of basename($filename) because basename is depending on locale.
0.1.2

Added

  • Support for Outlook msg files.
0.1.1

Added

  • Support for Apple passbook.
0.1.0

Added

  • Initial release
1.5.0
  • Test with newer PHP versions up to 8.5
  • Drop support for PHP < 7.4
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport