2017 © Pedro Peláez
 

yii2-extension yii2-ajax-file-upload

Yii2 files upload

image

skeeks/yii2-ajax-file-upload

Yii2 files upload

  • Friday, July 13, 2018
  • by skeeks-semenov
  • Repository
  • 2 Watchers
  • 1 Stars
  • 1,203 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 10 Versions
  • 19 % Grown

The README.md

Yii2 file upload

Latest Stable Version Total Downloads, (*1)

Installation

Either run, (*2)

php composer.phar require --prefer-dist skeeks/yii2-ajax-file-upload "*"

or add, (*3)

"skeeks/yii2-ajax-file-upload": "*"

Configuration web app


'modules' => [ 'ajaxfileupload' => [ 'class' => 'skeeks\yii2\ajaxfileupload\AjaxFileUploadModule', 'controllerMap' => [ 'upload' => [ 'class' => 'skeeks\yii2\ajaxfileupload\controllers\UploadController', 'private_tmp_dir' => '@runtime/ajaxfileupload', ] ] ] ]

Configuration console app


'modules' => [ 'ajaxfileupload' => [ 'class' => 'skeeks\yii2\ajaxfileupload\AjaxFileUploadModule', 'controllerNamespace' => 'skeeks\yii2\ajaxfileupload\console\controllers' 'controllerMap' => [ 'upload' => [ 'class' => '\skeeks\yii2\ajaxfileupload\controllers\UploadController', 'private_tmp_dir' => '@runtime/ajaxfileupload', ] ] ] ]

Console commands

php yii ajaxfileupload/cleanup

Usage

echo $form->field($model, 'image_src')->widget(
            \skeeks\yii2\ajaxfileupload\widgets\AjaxFileUploadWidget::class,
            [
                'accept' => 'image/*',
                //'view_file' => '@skeeks/yii2/ajaxfileupload/widgets/views/buttons',
                //'itemOptions' => [
                //    'class' => 'col-lg-6 col-md-6 col-sm-6 sx-file sx-state-success'
                //]
            ]
        );


skeeks! SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | cms.skeeks.com, (*4)

The Versions

13/07 2018

dev-master

9999999-dev https://cms.skeeks.com/

Yii2 files upload

  Sources   Download

BSD-3-Clause GPL-3.0+

The Requires

 

by Semenov Alexander

framework component yii widget skeeks

13/07 2018
15/06 2018
31/08 2017

1.0.0

1.0.0.0 https://cms.skeeks.com/

Yii2 files upload

  Sources   Download

GPL-3.0+

The Requires

 

by Semenov Alexander

framework component yii skeeks

31/08 2017

1.0.0-beta

1.0.0.0-beta https://cms.skeeks.com/

Yii2 files upload

  Sources   Download

GPL-3.0+

The Requires

 

by Semenov Alexander

framework component yii skeeks

16/08 2017

1.0.0-alpha4

1.0.0.0-alpha4 https://cms.skeeks.com/

Yii2 files upload

  Sources   Download

GPL-3.0+

The Requires

 

by Semenov Alexander

framework component yii skeeks

21/06 2017

1.0.0-alpha3

1.0.0.0-alpha3 https://cms.skeeks.com/

Yii2 files upload

  Sources   Download

GPL-3.0+

The Requires

 

by Semenov Alexander

framework component yii skeeks

14/06 2017

1.0.0-alpha2

1.0.0.0-alpha2 https://cms.skeeks.com/

Yii2 files upload

  Sources   Download

GPL-3.0+

The Requires

 

by Semenov Alexander

framework component yii skeeks

08/06 2017

1.0.0-alpha

1.0.0.0-alpha https://cms.skeeks.com/

Yii2 files upload

  Sources   Download

GPL-3.0+

The Requires

 

by Semenov Alexander

framework component yii skeeks