Download the PHP package heimrichhannot/contao-multifileupload without Composer

On this page you can find all versions of the php package heimrichhannot/contao-multifileupload. 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 contao-multifileupload

Contao Multi File Upload

Contao front end widget that provides dropzonejs.com functionality to both back and front end. The javascript is written in native javascript and invoked for both jquery and mootools on "document ready" and "ajax complete".

Features

Technical instructions

Use the inputType "multifileupload" for your field. In the backend, the widget is replaced by a "fileTree".

Flow chart

A flowchart with description of the full upload procedure with callback injection can be found here: Flowchart.

Eval-Properties

Defined at your field's dca.

Name Default Description
fieldType 'checkbox' If set to "checkbox", multiple files can be uploaded, for single upload set to 'radio'
extensions \Config::get('uploadTypes') A comma separated list of allowed file types (e.g. "jpg,png")
maxUploadSize minimum of $GLOBALS['TL_CONFIG']['maxFileSize'] and php.ini 'upload_max_filesize' The desired maximum upload size measured in Bytes (e.g. "100"), KiB, MiB or GiB (e.g. "10M"). Can not exceed $GLOBALS['TL_CONFIG']['maxFileSize'] or php upload_max_filesize value.
maxFiles 10 The maximum file count per field
uploadFolder null The upload folder as String, e.g. "files/uploads", function or array. (must be declared !!!), required to move files to correct destination after submission.
addRemoveLinks true Remove links are added to each of the file avatars in the jquery (caption can be overwritten within language files)
minImageWidth 0 The minimum image width. Set to 0 for no min width image validation. All units from \Image::getPixelValue() are supported.
minImageHeight 0 The minimum image height. Set to 0 for no min height image validation. All units from \Image::getPixelValue() are supported.
maxImageWidth 0 The maximum image width. Set to 0 for no max width image validation. All units from \Image::getPixelValue() are supported.
maxImageHeight 0 The maximum image height. Set to 0 for no max image height validation. All units from \Image::getPixelValue() are supported.
minImageWidthErrorText $GLOBALS['TL_LANG']['ERR']['minWidth'] Custom error message for minimum image width. (arguments provided: 1 - minimum width from config, 2 - current image width)
minImageHeightErrorText $GLOBALS['TL_LANG']['ERR']['minHeight'] Custom error message for minimum image height. (arguments provided: 1 - minimum height from config, 2 - current image height)
maxImageWidthErrorText $GLOBALS['TL_LANG']['ERR']['maxWidth'] Custom error message for maximum image width. (arguments provided: 1 - maximum width from config, 2 - current image width)
maxImageHeightErrorText $GLOBALS['TL_LANG']['ERR']['maxHeight'] Custom error message for maximum image height. (arguments provided: 1 - maximum height from config, 2 - current image height)
createImageThumbnails boolean(true) Set to false if you dont want to preview thumbnails.
mimeFolder system/modules/multifileupload/assets/img/mimetypes/Numix-uTouch The relative path from contao root to custom mimetype folder, mimetypes.json and images must lie inside. (example: system/modules/multifileupload/assets/img/mimetypes/Numix-uTouch)
mimeThumbnailsOnly boolean(false) Set to true if you want to show mime image thumbnails only, and no image preview at all. (performance improvement)
thumbnailWidth 90 The thumbnail width (in px) of the uploaded file preview within the dropzone preview container.
thumbnailHeight 90 The thumbnail height (in px) of the uploaded file preview within the dropzone preview container.
labels array() Overwrite the head and body labels within the upload field.
skipDeleteAfterSubmit false Prevent file removal from filesystem.

Field Callbacks

Type Arguments Expected return value Description
upload_path_callback $strTarget, \File $objFile, \DataContainer $dc $strTarget Manipulate the upload path after form submission (run within onsubmit_callback).
validate_upload_callback \File $objFile, \Widget $objWidget boolean(false) or string with frontend error message Validate the uploaded file and add an error message if file does not pass validation, otherwise boolean(false) is expected.

All versions of contao-multifileupload with dependencies

PHP Build Version
Package Version
Requires php Version ~5.4 || ~7.0
contao/core-bundle Version ^3.5.1 || ~4.1
contao-community-alliance/composer-plugin Version ~2.4 || ~3.0
heimrichhannot/contao-ajax Version ^1.1.3
heimrichhannot/dropzone-latest Version ^5.0
heimrichhannot/contao-components Version ^2.0
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 heimrichhannot/contao-multifileupload contains the following files

Loading the files please wait ....