An open API service indexing awesome lists of open source software.

https://github.com/alexeevdv/yii2-single-image-upload


https://github.com/alexeevdv/yii2-single-image-upload

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

## Installation

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

Either run

```bash
$ composer require alexeevdv/yii2-single-image-upload "^1.0"
```

or add

```
"alexeevdv/yii2-single-image-upload": "^1.0"
```

to the ```require``` section of your `composer.json` file.

## Usage

```php
echo $form->field($model, 'image')->widget(alexeevdv\image\SingleImageUploadWidget::class);
```