PHPackages                             execut/yii2-kcfinder - 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. execut/yii2-kcfinder

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

execut/yii2-kcfinder
====================

KCFinder for Yii2

0.2.1(4y ago)06632

Since Nov 28Compare

[ Source](https://github.com/execut/yii2-kcfinder)[ Packagist](https://packagist.org/packages/execut/yii2-kcfinder)[ Docs](https://github.com/iutbay/yii2-kcfinder)[ RSS](/packages/execut-yii2-kcfinder/feed)WikiDiscussions Synced 2d ago

READMEChangelogDependencies (5)Versions (14)Used By (2)

KCFinder for Yii2
=================

[](#kcfinder-for-yii2)

[KCFinder](http://kcfinder.sunhater.com/) for Yii2.

Installation
------------

[](#installation)

The preferred way to install this helper is through [composer](http://getcomposer.org/download/).

After, either run

```
php composer.phar require "execut/yii2-kcfinder" "dev-master"

```

or add

```
"execut/yii2-kcfinder" : "dev-master"
```

to the require section of your application's `composer.json` file.

Widget Use
----------

[](#widget-use)

Without model :

```
use execut\yii2kcfinder\KCFinderInputWidget;

echo KCFinderInputWidget::widget([
	'name' => 'image',
]);
```

With model and ActiveForm :

```
use execut\yii2kcfinder\KCFinderInputWidget;

echo $form->field($model, 'images')->widget(KCFinderInputWidget::class, [
	'multiple' => true,
]);
```

Use with 2amigos/yii2-ckeditor-widget
-------------------------------------

[](#use-with-2amigosyii2-ckeditor-widget)

You should use extended CKEditor widget `execut\yii2kcfinder\CKEditor`, e.g. :

```
\execut\yii2kcfinder\CKEditor::widget();
```

Widget has enableKCFinder option for enable\\disable KCFinder.

You should then set KCFinder options using session var, e.g. :

```
// kcfinder options
// http://kcfinder.sunhater.com/install#dynamic
$kcfOptions = array_merge(KCFinder::$kcfDefaultOptions, [
	'uploadURL' => Yii::getAlias('@web').'/upload',
	'access' => [
		'files' => [
			'upload' => true,
			'delete' => false,
			'copy' => false,
			'move' => false,
			'rename' => false,
		],
		'dirs' => [
			'create' => true,
			'delete' => false,
			'rename' => false,
		],
	],
]);

// Set kcfinder session options
Yii::$app->session->set('KCFINDER', $kcfOptions);
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Recently: every ~233 days

Total

10

Last Release

1673d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2357407?v=4)[Yuriy Mamaev](/maintainers/execut)[@execut](https://github.com/execut)

---

Tags

yii2extensionkcfinder

### Embed Badge

![Health badge](/badges/execut-yii2-kcfinder/health.svg)

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

###  Alternatives

[richardfan1126/yii2-sortable-gridview

Sortable GridView for Yii2

29197.0k](/packages/richardfan1126-yii2-sortable-gridview)[gilek/yii2-gtreetable

yii2-gtreetable is an extension of Yii 2 Framework, which is wrapper for bootstrap-gtreetable plug-in, on the other hand it provides functionality which allows to save the nodes states into database.

4111.9k](/packages/gilek-yii2-gtreetable)

PHPackages © 2026

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