PHPackages                             rahulabs/yii2-img-selector - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rahulabs/yii2-img-selector

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

rahulabs/yii2-img-selector
==========================

Yii2 widget ImgSelector

1.0.2(1y ago)115CSS

Since Aug 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rahulabs/yii2-img-selector)[ Packagist](https://packagist.org/packages/rahulabs/yii2-img-selector)[ RSS](/packages/rahulabs-yii2-img-selector/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

yii2 ImgSelector Widget for Responsive File Manager
===================================================

[](#yii2-imgselector-widget-for-responsive-file-manager)

If you made a file manager in TinyMCE, you could connect Responsive File Manager (RFM). Then ask yourself: why can't I fill in inputs with the names of the file that is selected? So to say: "Doctor's photo" -&gt; "Browse" -&gt; "Save".

I made such a widget for myself. Basically, you need to download RFM, place it in a certain folder, in the `backend/web/` folder and specify this path to it in `backend/config/bootstrap.php`.

Use: `->widget(\rahulabs\yii2\imgSelector\ImageSelector::className())` on the required field in the admin form.

Add Constant **WEBSITE\_URL** in your project as domain URL:

Install
-------

[](#install)

`composer require rahulabs/yii2-img-selector`

**`frontend/config/bootstrap.php`**

```
Yii::$container->set('rahulabs\yii2\imgSelector\ImageSelector', [
    'fileManagerPathTpl' => '/adm-scripts/responsivefilemanager/filemanager/dialog.php?type=1&field_id=%s&relative_url=0&callback=ImageSelectorCallBack'
]);
```

**`backend/view/test/test.php`**

```
echo  $form
        ->field($model, 'main_image')
        ->widget(\rahulabs\yii2\imgSelector\ImageSelector::className());
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Total

3

Last Release

581d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4083835b596a398908dd0bc60c9271d78904e1f66400c42b60994f39558722ae?d=identicon)[rahulabstain](/maintainers/rahulabstain)

---

Top Contributors

[![rahulabs](https://avatars.githubusercontent.com/u/6480804?v=4)](https://github.com/rahulabs "rahulabs (3 commits)")

---

Tags

yii2widget

### Embed Badge

![Health badge](/badges/rahulabs-yii2-img-selector/health.svg)

```
[![Health](https://phpackages.com/badges/rahulabs-yii2-img-selector/health.svg)](https://phpackages.com/packages/rahulabs-yii2-img-selector)
```

###  Alternatives

[softark/yii2-dual-listbox

Bootstrap Dual Listbox Widget for Yii 2

20144.4k11](/packages/softark-yii2-dual-listbox)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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