PHPackages                             zxbodya/yii2-elfinder - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. zxbodya/yii2-elfinder

ActiveYii2-extension[File &amp; Storage](/categories/file-storage)

zxbodya/yii2-elfinder
=====================

Extension to use elFinder 1.x file manager in Yii2 application

v2.0.0(8y ago)1035.7k↓50%10[3 issues](https://github.com/zxbodya/yii2-elfinder/issues)[1 PRs](https://github.com/zxbodya/yii2-elfinder/pulls)3MITJavaScript

Since Sep 30Pushed 8y ago3 watchersCompare

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

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

ElFinder 1.x Yii2 extension
===========================

[](#elfinder-1x-yii2-extension)

Extension to simplify adding elFinder to Yii2 project.

Extension is rework from Yii 1.1 extension:

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

Either run

`php composer.phar require --prefer-dist zxbodya/yii2-elfinder "*@dev"`

or add

`"zxbodya/yii2-elfinder": "*@dev"`

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

Backend controller configuration
--------------------------------

[](#backend-controller-configuration)

```
namespace backend\controllers;
use Yii;
use yii\web\Controller;
use zxbodya\yii2\elfinder\ConnectorAction;

class ElFinderController extends Controller
{
    public function actions()
    {
        return [
            'connector' => array(
                'class' => ConnectorAction::className(),
                'settings' => array(
                    'root' => Yii::getAlias('@webroot') . '/uploads/',
                    'URL' => Yii::getAlias('@web') . '/uploads/',
                    'rootAlias' => 'Home',
                    'mimeDetect' => 'none'
                )
            ),
        ];
    }
}
```

Widgets usage
-------------

[](#widgets-usage)

### FileInput

[](#fileinput)

widget to choose file on server using ElFinder pop-up

```
echo $form->field($model, 'filePath')->widget(
    ElFinderInput::className(),
    ['connectorRoute' => 'el-finder/connector',]
)
```

### ElFinderWidget

[](#elfinderwidget)

```
echo ElFinderWidget::widget(
    ['connectorRoute' => 'el-finder/connector',]
)
```

TinyMce integration
-------------------

[](#tinymce-integration)

Widgets supports intergation with TinyMce wysiwyg editor For more details see tinymce extension

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 85.2% 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

Unknown

Total

1

Last Release

3129d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f47929617cbb1dee5a095baccb865ab5e30ad7155f5b30b081b50249806593d?d=identicon)[zxbodya](/maintainers/zxbodya)

---

Top Contributors

[![zxbodya](https://avatars.githubusercontent.com/u/446117?v=4)](https://github.com/zxbodya "zxbodya (23 commits)")[![hooman-mirghasemi](https://avatars.githubusercontent.com/u/11981070?v=4)](https://github.com/hooman-mirghasemi "hooman-mirghasemi (3 commits)")[![dastanaron](https://avatars.githubusercontent.com/u/25330618?v=4)](https://github.com/dastanaron "dastanaron (1 commits)")

---

Tags

elfindertinymceyii2yii2-extensionyii2extensionwidgettinymcefile managerelfinder

### Embed Badge

![Health badge](/badges/zxbodya-yii2-elfinder/health.svg)

```
[![Health](https://phpackages.com/badges/zxbodya-yii2-elfinder/health.svg)](https://phpackages.com/packages/zxbodya-yii2-elfinder)
```

###  Alternatives

[noam148/yii2-image-manager

A Yii2 module/widget for upload and cropping images

12914.8k](/packages/noam148-yii2-image-manager)[sjaakp/yii2-illustrated-behavior

ActiveRecord Behavior with associated Widget for Yii2.

423.1k](/packages/sjaakp-yii2-illustrated-behavior)[rkit/filemanager-yii2

FileManager for Yii2

181.3k](/packages/rkit-filemanager-yii2)

PHPackages © 2026

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