PHPackages                             victorruan/yii2-dropzone - 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. victorruan/yii2-dropzone

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

victorruan/yii2-dropzone
========================

Yii2 Dropzone widget

09JavaScript

Since Aug 25Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Dropzone Extension for Yii 2
============================

[](#dropzone-extension-for-yii-2)

This extension provides the [Dropzone](http://www.dropzonejs.com/) integration for the Yii2 framework.

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

[](#installation)

This extension requires [Dropzone](https://github.com/enyo/dropzone)

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

Either run

```
php composer.phar require --prefer-dist victorruan/yii2-dropzone "*"

```

or add

```
"victorruan/yii2-dropzone": "*"

```

to the require section of your composer.json.

General Usage
-------------

[](#general-usage)

```
use victorruan\dropzone\DropZone;

DropZone::widget(
    [
        'name' => 'file', // input name or 'model' and 'attribute'
        'url' => '', // upload url
        'storedFiles' => [], // stores files
        'eventHandlers' => [], // dropzone event handlers
        'sortable' => true, // sortable flag
        'sortableOptions' => [], // sortable options
        'htmlOptions' => [], // container html options
        'options' => [], // dropzone js options
    ]
)
```

you can also register `victorruan\dropzone\UploadAction` and `victorruan\dropzone\RemoveAction` actions in your controller

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/74229335b5d1005a2a151a45df9cf880ab214d98f5768ad1d597d0eee29c444d?d=identicon)[victorruan](/maintainers/victorruan)

---

Top Contributors

[![victorruan](https://avatars.githubusercontent.com/u/6701576?v=4)](https://github.com/victorruan "victorruan (2 commits)")

### Embed Badge

![Health badge](/badges/victorruan-yii2-dropzone/health.svg)

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

PHPackages © 2026

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