PHPackages                             jedenweb/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. [File &amp; Storage](/categories/file-storage)
4. /
5. jedenweb/plupload

ActiveLibrary[File &amp; Storage](/categories/file-storage)

jedenweb/plupload
=================

Plupload based file upload for Nette Framework

1661JavaScript

Since Dec 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/JedenWeb/Plupload)[ Packagist](https://packagist.org/packages/jedenweb/plupload)[ RSS](/packages/jedenweb-plupload/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Deprecated
==========

[](#deprecated)

Use [original repo](http://github.com/echo511/Plupload) instead.

Plupload
========

[](#plupload)

Simple file uploader for [Nette Framework](http://nette.org/)

Originaly from Nikolas Tsiongas, new BSD License.

Instalation
-----------

[](#instalation)

Plupload requires **jQuery** and **jQueryUI**.

The best way to install jedenweb/images is using [Composer](http://getcomposer.org/):

```
{
	"require" {
		"jedenweb/plupload": "dev-master"
	}
}
```

After that you have to register extension in config.neon.

```
extensions:
	plupload: JedenWeb\Plupload\DI\PluploadExtension
```

Usage
-----

[](#usage)

### Creating component

[](#creating-component)

In presenter

```
	/**
	 * @inject
	 * @var \JedenWeb\Plupload\Plupload
	 */
	public $plupload;

	/**
	 * @param string $name
	 * @return \JedenWeb\Plupload\Widget\JQueryUIWidget
	 */
	public function createComponentPlupload($name)
	{
		$this->plupload->getUploader()
				 ->onSuccess[] = callback($this, 'handleUploadFile');

		return $this->plupload;
	}

	/**
	 * @param \Nette\Http\FileUpload $file
	 */
	public function handleUploadFile(\Nette\Http\FileUpload $file)
	{
		$file->move(WWW_DIR . '/media/upload/'. $file->getSanitizedName());

		$this->invalidateControl('images');
	}
```

### Dummy way to show uploaded files

[](#dummy-way-to-show-uploaded-files)

In presenter

```
	public function actionDefault()
	{
		$this->template->images = \Nette\Utils\Finder::find('*')->from(WWW_DIR . '/media/upload');
	}
```

In template

```
	{control plupload}

	{snippet images}
		{foreach $images as $image}
			&lt;img src="{$basePath}/media/upload/{$image->getFilename()}" /&gt;
		{/foreach}
	{/snippet}
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 79.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c8e2068c5573c738dddfacce393683321126a313ad2a61f51fe4a341b9f43f38?d=identicon)[PavelJurasek](/maintainers/PavelJurasek)

---

Top Contributors

[![PavelJurasek](https://avatars.githubusercontent.com/u/1270132?v=4)](https://github.com/PavelJurasek "PavelJurasek (59 commits)")[![echo511](https://avatars.githubusercontent.com/u/658504?v=4)](https://github.com/echo511 "echo511 (14 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (1 commits)")

### Embed Badge

![Health badge](/badges/jedenweb-plupload/health.svg)

```
[![Health](https://phpackages.com/badges/jedenweb-plupload/health.svg)](https://phpackages.com/packages/jedenweb-plupload)
```

###  Alternatives

[venveo/craft-compress

Create smart zip files from Craft assets on the fly

124.7k](/packages/venveo-craft-compress)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
