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 yesterday

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 14% 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://www.gravatar.com/avatar/80ab99795e363913fcd01bc9d8d37e1852b7e8a147b1408514e65ea078fd027b?d=identicon)[vanquybn](/maintainers/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

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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