PHPackages                             andrewdanilov/yii2-input-images - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. andrewdanilov/yii2-input-images

ActiveYii2-extension[Image &amp; Media](/categories/media)

andrewdanilov/yii2-input-images
===============================

Input images widget

1.0.6(4y ago)12194MITPHPPHP &gt;=5.6.0

Since Jul 31Pushed 4y ago1 watchersCompare

[ Source](https://github.com/AndrewDanilov/yii2-input-images)[ Packagist](https://packagist.org/packages/andrewdanilov/yii2-input-images)[ RSS](/packages/andrewdanilov-yii2-input-images/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (8)Used By (4)

Input Images Widget
===================

[](#input-images-widget)

Widget building form fields for uploading single or multiple images. It extends and requires extension [MihailDev/yii2-elfinder](https://github.com/MihailDev/yii2-elfinder)

Installation
------------

[](#installation)

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

Either run

```
composer require andrewdanilov/yii2-input-images "~1.0.0"

```

or add

```
"andrewdanilov/yii2-input-images": "~1.0.0"

```

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

Usage
-----

[](#usage)

**For frontend**

In your config/main.php add:

```
return [
	// ...
	'controllerMap' => [
		'upload' => [
			'class' => 'andrewdanilov\InputImages\UploadController',
			'path' => 'upload/post/images', // path to upload images, default is 'upload/images'
		],
	],
];
```

Then in view just add a widget call:

```

field($model, 'logo')->widget(InputImagesFrontend::class) ?>

```

**For backend**

In your config/main.php add:

```
return [
	// ...
	'controllerMap' => [
		'elfinder' => [
			'class' => 'mihaildev\elfinder\Controller',
			'access' => ['admin'],
			'roots' => [
				[
					'baseUrl' => '',
					'basePath' => '@frontend/web',
					'path' => 'upload/images',
					'name' => 'Изображения',
				],
			],
		],
	],
];
```

And then add form in your view:

```

field($model, 'logo')->widget(InputImages::class) ?>

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~114 days

Recently: every ~53 days

Total

7

Last Release

1787d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ec54b9a17d56bc1ccf0be4d4d91269a020986e86ac0ba407906391912cb17ca4?d=identicon)[AndrewDanilov](/maintainers/AndrewDanilov)

---

Top Contributors

[![AndrewDanilov](https://avatars.githubusercontent.com/u/2826370?v=4)](https://github.com/AndrewDanilov "AndrewDanilov (40 commits)")

---

Tags

imagesyii2extensionfieldinput

### Embed Badge

![Health badge](/badges/andrewdanilov-yii2-input-images/health.svg)

```
[![Health](https://phpackages.com/badges/andrewdanilov-yii2-input-images/health.svg)](https://phpackages.com/packages/andrewdanilov-yii2-input-images)
```

###  Alternatives

[trntv/yii2-glide

Yii2 Glide Extension

41269.5k9](/packages/trntv-yii2-glide)[bilginnet/yii2-cropper

Yii2 Bootstrap Cropper Input Widget

2232.1k](/packages/bilginnet-yii2-cropper)[maxmirazh33/yii2-uploadable-cropable-image

Yii2 extension for upload and crop images

1020.8k](/packages/maxmirazh33-yii2-uploadable-cropable-image)[developit/yii2-jcrop

 yii2 image cropping extension

101.5k](/packages/developit-yii2-jcrop)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
