Yii2 upload behavior with inputfile widget
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist outtree/yii2-upload-behavior "*"
or add
"outtree/yii2-upload-behavior": "*"
to the require section of your composer.json
file.
Once the extension is installed, simply use it in your code by :
<?= \outtree\uploadbehavior\AutoloadExample::widget(); ?>```