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

1.1.2 - 2020-07-13

  • Support PHP 8.0
1.1.1
  • Fixed mistake in PHPDoc type.
1.1.0

Allow support for PSR-17

1.0.0

No changes since 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

Use uniqid('', true) for performance reasons

0.1.5

Make sure we support non-seekable streams

0.1.4

Added reset function

0.1.3

Support for custom mimetypes and remove use if PHP's basename

0.1.2

Added Outlook MSG files

0.1.1

Added mimetype for Apple Passbook

0.1.0
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.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai