PHPackages                             paskuale75/yii2-uppy - 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. paskuale75/yii2-uppy

ActiveYii2-extension

paskuale75/yii2-uppy
====================

Wrapper for Uppy uploader jQuery widget

0118PHP

Since Aug 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/paskuale75/yii2-uppy)[ Packagist](https://packagist.org/packages/paskuale75/yii2-uppy)[ RSS](/packages/paskuale75-yii2-uppy/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-uppy
=========

[](#yii2-uppy)

Uppy wrapper, modular JavaScript file uploader that integrates seamlessly with any application. It’s fast, easy to use and lets you worry about more important problems than building a file uploader.

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

[](#installation)

Install **yii2-uppy** in the usual way with [Composer](https://getcomposer.org/). Add the following to the require section of your `composer.json` file:

`"paskuale75/yii2-uppy": "*"`

or run:

`composer require paskuale75/yii2-uppy`

You can manually install **yii2-uppy** by [downloading the source in ZIP-format](https://github.com/paskuale75/yii2-uppy/archive/master.zip).

Usage
-----

[](#usage)

```
echo '';
echo Uppyuploader::widget([
    'id' => 'Uppy_' . $uniqueKey,
    'options' => [
        'source' => [
            'type' => Uppyuploader::MODE_FILEINPUT,
            'options' => [
                'target' => '#div_' . $uniqueKey,
                'locale'   => [
                    'strings' => [
                        'browse'        => 'Seleziona file',
                        'browseFiles'   => 'Seleziona file',
                        'addMoreFiles'  => 'Seleziona file',
                        'chooseFiles'   => 'Seleziona file',
                    ]
                ],
            ]
        ],
        'destination' => [
            'type' => Uppyuploader::DEST_XHR,
            'options' => [
                'endpoint' => Url::toRoute([
                    '//main/allegati/files/upload',
                    'param1'    => $myParam,
                    'param2'    => $myParam2
                ]),
                'headers' => [Yii::$app->request->csrfParam => Yii::$app->request->csrfToken],
                'fieldName' => ['qqfile'],
                'resume'    => true,
                'retryDelays' => ['0', '1000', '3000', '5000']
            ]
        ],
        'progressBar' => [
            'target' => '#ProgressBar_Uppy_' . $uniqueKey,
            'fixed' => false,
            'hideAfterFinish' => false
        ],
        'informer' => [
            //'class' => 'alert alert-primary'
        ]
    ],
    'coreOptions' => [
        'debug' => true,
        'autoProceed' => true,
        'target' => '#div_' . $uniqueKey,
        'locale' => str_replace('-', '_', Yii::$app->language),
        'restrictions' => [
            'maxFileSize' => 1000000,
            'maxNumberOfFiles' => 1,
            'minNumberOfFiles' => 1,
            'allowedFileTypes' => ['.pdf']
        ]
    ],
]);
echo '
```

P.S.
----

[](#ps)

You may encounter problems with the 'composer update' command if you are using composer version 1.10.13, downgrade to 1.10.10 and everything will work as it should. Downgrade with `"composer self-update 1.10.10"`

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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/18cee12053088da5786cb0aec9568ee017474085a2da7996776d67b291ed5a32?d=identicon)[paskuale75](/maintainers/paskuale75)

---

Top Contributors

[![paskuale75](https://avatars.githubusercontent.com/u/9800?v=4)](https://github.com/paskuale75 "paskuale75 (60 commits)")

### Embed Badge

![Health badge](/badges/paskuale75-yii2-uppy/health.svg)

```
[![Health](https://phpackages.com/badges/paskuale75-yii2-uppy/health.svg)](https://phpackages.com/packages/paskuale75-yii2-uppy)
```

PHPackages © 2026

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