Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

49 lines (35 sloc) 1.224 kb

Plupload for Nette Framework


Install using composer:

$ composer require echo511/plupload:2.0.*

Register compiler extension: Echo511\Plupload\DI\PluploadExtension

Load javascript and css files required by plupload. Required javascript libraries are jQuery, jQueryUI, plupload.full.js, jquery.ui.plupload.js. Load corresponding css or style as you wish. Snapshots of required javascript, css assets can be found in assets folder.

If you wish to use ajax and Nette snippets, use extension: If you prefer your solution then you need to adjust the latte file.


In presenter like this:


use Nette\Application\UI\Presenter;
use Echo511\Plupload\Entity\UploadQueue;

class HomePresenter extends Presenter

    /** @var \Echo511\Plupload\Control\IPluploadControlFactory @inject */
    public $controlFactory;

    public function createComponentPlupload()
        $plupload = $this->controlFactory->create();
        $plupload->onFileUploaded[] = function(UploadQueue $uploadQueue) {
        $plupload->onUploadComplete[] = function(UploadQueue $uploadQueue) {
        return $plupload;

Jump to Line
Something went wrong with that request. Please try again.