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

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

ommu/yii2-dropzone
==================

Yii2 Dropzone widget

1.1.0(6y ago)0841GPL-3.0+PHP

Since Dec 16Pushed 9mo ago1 watchersCompare

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

READMEChangelog (1)Dependencies (4)Versions (10)Used By (1)

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 ommu/yii2-dropzone "dev-master"

```

or add

```
"ommu/yii2-dropzone": "dev-master"

```

to the require section of your composer.json.

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

[](#general-usage)

```
use devgroup\dropzone\DropZone;

echo 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
]);
```

Input Form Usage
----------------

[](#input-form-usage)

```
use devgroup\dropzone\DropZone;

echo $form->field($model, "attribute")->widget(DropZone::className(), [
    '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 `devgroup\dropzone\UploadAction` and `devgroup\dropzone\RemoveAction` actions in your controller

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance41

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~269 days

Recently: every ~374 days

Total

7

Last Release

2548d ago

### Community

Maintainers

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

---

Top Contributors

[![evgen-d](https://avatars.githubusercontent.com/u/2807102?v=4)](https://github.com/evgen-d "evgen-d (10 commits)")[![PutraSudaryanto](https://avatars.githubusercontent.com/u/5587049?v=4)](https://github.com/PutraSudaryanto "PutraSudaryanto (6 commits)")[![jarrydgoodman](https://avatars.githubusercontent.com/u/3381428?v=4)](https://github.com/jarrydgoodman "jarrydgoodman (2 commits)")[![fps01](https://avatars.githubusercontent.com/u/2114997?v=4)](https://github.com/fps01 "fps01 (2 commits)")[![bethrezen](https://avatars.githubusercontent.com/u/260284?v=4)](https://github.com/bethrezen "bethrezen (1 commits)")[![krivochenko](https://avatars.githubusercontent.com/u/7313306?v=4)](https://github.com/krivochenko "krivochenko (1 commits)")[![pjacquemin](https://avatars.githubusercontent.com/u/8099968?v=4)](https://github.com/pjacquemin "pjacquemin (1 commits)")[![glutaminefree](https://avatars.githubusercontent.com/u/2122419?v=4)](https://github.com/glutaminefree "glutaminefree (1 commits)")

---

Tags

dropzonedropzonejsuploadyii2yii2-extensionuploadyii2extensiondropzoneommuommu-platformmultiple-upload

### Embed Badge

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

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

###  Alternatives

[perminder-klair/yii2-dropzone

DropzoneJs Extention for Yii2

50240.4k1](/packages/perminder-klair-yii2-dropzone)[nemmo/yii2-attachments

Extension for file uploading and attaching to the models

6616.6k5](/packages/nemmo-yii2-attachments)[devgroup/yii2-dropzone

Yii2 Dropzone widget

1051.6k1](/packages/devgroup-yii2-dropzone)[sjaakp/yii2-illustrated-behavior

ActiveRecord Behavior with associated Widget for Yii2.

423.1k](/packages/sjaakp-yii2-illustrated-behavior)

PHPackages © 2026

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