Highly variable file and img upload and attachment plagin
The preferred way to install this extension is through composer.
add
"require": {
...
"greeschenko/yii2-file": "*"
...
},
to the composer.json
file.
update database
$ php yii migrate/up --migrationPath=@vendor/greeschenko/yii2-file/migrations
add to you app config
'modules'=>[
'file'=> [
'class'=>'greeschenko\file\Module',
],
],