Download the PHP package goetas/multipart-upload-bundle without Composer

On this page you can find all versions of the php package goetas/multipart-upload-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package multipart-upload-bundle

GoetasMultipartUploadBundle

Build Status Latest Stable Version Code Coverage Scrutinizer Code Quality

Symfony multipart/related, multipart/alternative and multipart/mixed content type handler.

This bundle implements a subset of the https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html specifications and allows you to deal with Content-Type: multipart/*; requests with Symfony.

Install

Run composer require goetas/multipart-upload-bundle

Add bundle to symfony (if not using symfony/flex)

Request format

A multipart/related request could look like this:

Usage

Controller

Body will not be decoded automatically, you can decode it by yourself or use FOSRestBundle to handle it transparently

Form Fields

Parts with form-data; name= in Content-Disposition part's headers will be treated like an regular uploaded file.

Can be used with Symfony's form builder

Uploaded Files

Parts with form-data; name= and filename= in Content-Disposition part's headers will be treated like an regular uploaded file.

Can be used with Symfony's form builder

Attachment Files

Parts with attachment; filename= in Content-Disposition part's headers will be treated as an attachment file.

Related Parts

Parts without a filename will be treated as Riverline\MultiPartParser\StreamedPart object. Will be possible to access as well all the parts trough the related-parts attribute.

By default, when a message is multipart/*, the first part will become the Symfony message content. You can disable this by setting first_part_as_default to false.

Configurations

Note

The code in this project is provided under the MIT license. For professional support contact [email protected] or visit https://www.goetas.com


All versions of multipart-upload-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
symfony/http-foundation Version ^6.0|^7.0
symfony/http-kernel Version ^6.0|^7.0
symfony/dependency-injection Version ^6.0|^7.0
riverline/multipart-parser Version ^2.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package goetas/multipart-upload-bundle contains the following files

Loading the files please wait ....