Registry / http-client / php-http-multipart-stream-builder

php-http-multipart-stream-builder

JSON →
library1.4.2phppackagistunverified

A builder class that help you create a multipart stream

composer require php-http/multipart-stream-builder
INSTALL
IMPORT
SIG · PHP-HTTP-MULTIPART
P
php-http-multipart-stream-builder
http-clientphpv1.4.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MultipartStreamBuilder
use Http\Message\MultipartStream\MultipartStreamBuilder;

Build a multipart stream for HTTP requests with file uploads.

use Http\Message\MultipartStream\MultipartStreamBuilder; $builder = new MultipartStreamBuilder(); $builder->addResource('file', fopen('/path/to/file', 'r'), ['filename' => 'file.txt']); $stream = $builder->build();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Amazon
1
Resources
php-http-multipart-stream-builder — pip install php-http-multipart-stream-builder · libregistry