PHPackages                             bilginnet/yii2-plupload - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bilginnet/yii2-plupload

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

bilginnet/yii2-plupload
=======================

Yii2 Plupload Queue Widget

1.0.1(7y ago)0273MITJavaScript

Since Nov 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bilginnet/yii2-plupload)[ Packagist](https://packagist.org/packages/bilginnet/yii2-plupload)[ RSS](/packages/bilginnet-yii2-plupload/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

yii2-plupload
=============

[](#yii2-plupload)

Yii2 Plupload queue widget

[![Minimum PHP Version](https://camo.githubusercontent.com/b8feeff753e7c6ff51ffd26c612be3c4f292513e413cd0c8884e665ff51dd798/687474703a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e342d3838393242462e737667)](https://php.net/)[![Latest Stable Version](https://camo.githubusercontent.com/28fbcbe4b74c082044dba765ea6883852992f05dd866e0e8300e31edbb3c6fcb/68747470733a2f2f706f7365722e707567782e6f72672f62696c67696e6e65742f796969322d706c75706c6f61642f762f737461626c65)](https://packagist.org/packages/bilginnet/yii2-plupload)[![Total Downloads](https://camo.githubusercontent.com/74a1f4c3a2bc03371f568791a51a059f5911a902710ba21a390f0677d9efc2e5/68747470733a2f2f706f7365722e707567782e6f72672f62696c67696e6e65742f796969322d706c75706c6f61642f646f776e6c6f616473)](https://packagist.org/packages/bilginnet/yii2-plupload)[![Latest Unstable Version](https://camo.githubusercontent.com/c030156300587f8e7fb0ec2d4509b0e6ff6a8ea5ebad0bbc8c251b11442c8d85/68747470733a2f2f706f7365722e707567782e6f72672f62696c67696e6e65742f796969322d706c75706c6f61642f762f756e737461626c65)](https://packagist.org/packages/bilginnet/yii2-plupload)[![License](https://camo.githubusercontent.com/9317f07db745bdf367b282fa580b2230f73dd170a3426420b7dd3ddf608256db/68747470733a2f2f706f7365722e707567782e6f72672f62696c67696e6e65742f796969322d706c75706c6f61642f6c6963656e7365)](https://packagist.org/packages/bilginnet/yii2-parpluploadser)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist bilginnet/yii2-plupload "dev-master"

```

or add

```
"bilginnet/yii2-plupload": "dev-master"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Let's add in controller file

```
public function actions() {
    return [
        'plupload' => [
            'class' => \bilginnet\plupload\PluploadAction::className(),
            // upload path from alias - default is '@webroot/uploads' or set your alias path sample: '@yourpath'
            // set your alias into config in your main-local config file before return[]
            // Yii::setAlias('@yourpath', '@webroot/uploads/');
            'targetDir' => '@webroot/uploads',
            'uploadComplete' => function ($filePath, $params) {
                // Do something with file
            }
        ],
    ];
}
```

Let's add in your \_form file

```
