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.7(1mo ago)12204MITPHPPHP &gt;=5.6.0

Since Jul 31Pushed 1mo 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 3w ago

READMEChangelogDependencies (6)Versions (9)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 use without a file manager**

In your config/main.php add:

```
return [
	// ...
	'controllerMap' => [
		'uploader' => [
			'class' => 'andrewdanilov\InputImages\UploadController',
			'path' => '@frontend/web/upload/post/images', // writable path to upload images to, default is '@webroot/upload/images'
            'baseUrl' => '/upload/post/images', // base url to uploaded images, default is '/upload/images'
		],
	],
];
```

Then in view just add a widget call:

```

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

```

**For use with the file manager**

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

46

—

FairBetter than 92% of packages

Maintenance91

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

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 ~354 days

Recently: every ~494 days

Total

8

Last Release

43d 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 (41 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

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[trntv/yii2-glide

Yii2 Glide Extension

41273.6k9](/packages/trntv-yii2-glide)

PHPackages © 2026

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