Download the PHP package sweelix/yii2-plupload without Composer

On this page you can find all versions of the php package sweelix/yii2-plupload. 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 yii2-plupload

Sweelix Yii2 Plupload extension

Sweelix Plupload extension for Yii 2 has been created to ease Plupload integration.

Plupload is not affiliated with Sweelix

Be carefull, Plupload (http://www.plupload.com/) is multi-licensed. Take care of the license which applies to :

Installation

If you use Packagist for installing packages, then you can update your composer.json like this :

Howto use this extension

Once package has been installed:

activate Image management,by adding it to Yii components

add the extension in your helper class :

Basic usage

Sample one : one single file upload with basic UI and Automatic upload

The controller file

The index view file

Sample two : multi-file upload with basic UI and Automatic upload

The controller file (nothing was changed in the controller)

The index view file, the square brackets here tell plupload to use multifile upload

Config parameter this parameter allow the developper to configure plupload

Here are the default configuration

PHP name Plupload name Default value
runtimes runtimes html5, html4
multiSelection multi_selection false
maxFileSize max_file_size 0
chunkSize chunk_size 10Mb
uniqueNames unique_names false
flashSwfUrl flash_swf_url null
silverlightXapUrl silverlight_xap_url null
browseButton browse_button null
dropElement drop_element null
container container null
multipart multipart null
multipartParams multipart_params null
requiredFeatures required_features null
filters filters null
headers headers null

Model usage with manual file management

The model file

The controller file

The index view file

Model usage with automatic file management

The model file

The controller file

The index view file

Contributing

All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

Fork the project, create a feature branch , and send us a pull request.


All versions of yii2-plupload with dependencies

PHP Build Version
Package Version
Requires sweelix/yii2-image Version *
sweelix/plupload Version *
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 sweelix/yii2-plupload contains the following files

Loading the files please wait ....