2017 © Pedro Peláez
 

yii2-extension yii2-image-upload

yii2-image-upload

image

xinyeweb/yii2-image-upload

yii2-image-upload

  • Wednesday, January 18, 2017
  • by hotarzhang
  • Repository
  • 2 Watchers
  • 1 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 9 % Grown

The README.md

yii2-image-upload

yii2-image-upload, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist xinyeweb/yii2-image-upload "*"

or add, (*4)

"xinyeweb/yii2-image-upload": "*"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

<?= $form->field($model, 'shop_logo')->widget(\xinyeweb\images\Images::className()) ?>```
```php
    public function actions() {
        return ArrayHelper::merge(parent::actions(), [
            'upload-image' => [
                'class' => 'xinyeweb\images\UploadAction',
            ],
        ]);
    }

The Versions

18/01 2017

dev-master

9999999-dev

yii2-image-upload

  Sources   Download

BSD-3-Clause

The Requires

 

by hoter

extension yii2 yii2-image-upload