PHPackages                             vanquybn/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. vanquybn/yii2-elfinder

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

vanquybn/yii2-elfinder
======================

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

058JavaScript

Since Mar 5Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

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

Extension to simplify adding elFinder to Yii2 project.

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

Either run

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

or add

`"vanquybn/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 vanquybn\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

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4433367?v=4)[vanquybn](/maintainers/vanquybn)[@vanquybn](https://github.com/vanquybn)

### Embed Badge

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

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

###  Alternatives

[venveo/craft-compress

Create smart zip files from Craft assets on the fly

124.7k](/packages/venveo-craft-compress)

PHPackages © 2026

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