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

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

dastanaron/yii2-dropzone-widget
===============================

A widget that uses the well known dropzone library for convenient file uploads. Does not throw scripts into the body of html, connects from its controller

12.2k↓30.3%2[3 issues](https://github.com/dastanaron/yii2-dropzone-widget/issues)JavaScript

Since Jan 17Pushed 8y agoCompare

[ Source](https://github.com/dastanaron/yii2-dropzone-widget)[ Packagist](https://packagist.org/packages/dastanaron/yii2-dropzone-widget)[ RSS](/packages/dastanaron-yii2-dropzone-widget/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

dropzone-widget
===============

[](#dropzone-widget)

На русском [ТУТ](README_RU.md)

Widget for convenient downloading of files, using the well-known library DropZone.js.

This widget differs from many in that:

1. Everything works, including converting the php array to a JS object.
2. Does not throw scripts into the body of an html document, than most widgets on yii2

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

[](#installation)

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

Either run

```
composer require dastanaron/yii2-dropzone-widget "@dev" --prefer-dist

```

After that, you need to configure the config. But this is only in case, if you use a widget with the generation of a JS file, and not with the publication of it in the body of html.

First add the module to main.php:

```
