PHPackages                             kosoukhov/yii2-ckeditor-youtube-plugin - 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. [Templating &amp; Views](/categories/templating)
4. /
5. kosoukhov/yii2-ckeditor-youtube-plugin

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

kosoukhov/yii2-ckeditor-youtube-plugin
======================================

Yii2 Youtube embed plugin for CKEditor based on Youtube embed (https://github.com/fonini/ckeditor-youtube-plugin/releases/tag/v2.1.18)

1.0.0(5y ago)04.0k↓40%[1 issues](https://github.com/kosoukhov/yii2-ckeditor-youtube-plugin/issues)MITPHP

Since Apr 13Pushed 5y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

YouTube embed CKEditor plugin for Yii2
======================================

[](#youtube-embed-ckeditor-plugin-for-yii2)

Yii2 YouTube embed plugin (as widget) for CKEditor based on YouTube embed

[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](http://www.yiiframework.com/)[![Latest Stable Version](https://camo.githubusercontent.com/a96cfbf89323a6dbedfe068f7a9a1a4c84abb731caf46d7b819ab9f516c367bf/68747470733a2f2f706f7365722e707567782e6f72672f6b6f736f756b686f762f796969322d636b656469746f722d796f75747562652d706c7567696e2f76)](//packagist.org/packages/kosoukhov/yii2-ckeditor-youtube-plugin) [![Total Downloads](https://camo.githubusercontent.com/c305c4704261226534d726d4f8e70bb631160fac9ab6bb1a64fb7131460da1e5/68747470733a2f2f706f7365722e707567782e6f72672f6b6f736f756b686f762f796969322d636b656469746f722d796f75747562652d706c7567696e2f646f776e6c6f616473)](//packagist.org/packages/kosoukhov/yii2-ckeditor-youtube-plugin) [![Latest Unstable Version](https://camo.githubusercontent.com/3a2328a533002830e79e703e2cf35442780cd42288946ea28b1f0badd301b5aa/68747470733a2f2f706f7365722e707567782e6f72672f6b6f736f756b686f762f796969322d636b656469746f722d796f75747562652d706c7567696e2f762f756e737461626c65)](//packagist.org/packages/kosoukhov/yii2-ckeditor-youtube-plugin) [![License](https://camo.githubusercontent.com/2abab9d452b394941fd2f396f6053a51c6f4e36c9ef30d65821d35e1f7f54109/68747470733a2f2f706f7365722e707567782e6f72672f6b6f736f756b686f762f796969322d636b656469746f722d796f75747562652d706c7567696e2f6c6963656e7365)](//packagist.org/packages/kosoukhov/yii2-ckeditor-youtube-plugin)

Based on YouTube embed

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

[](#installation)

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

Either run

```
php composer.phar require kosoukhov/yii2-ckeditor-youtube-plugin "^1.0"

```

or add

```
"kosoukhov/yii2-ckeditor-youtube-plugin": "^1.0"

```

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

Usage example:
--------------

[](#usage-example)

Once the widget is installed, use it in your code.

You must specify in the plugin dependencies the set of editor Asset to which you connect the plugin.

If you are using the  then an example code like this:

```
class SetUp implements BootstrapInterface
{
    public function bootstrap($app)
    {
        $container = Yii::$container;

        $container->set(YoutubeEmbed::class, ['depends' => ['dosamigos\ckeditor\CKEditorWidgetAsset']]);

        $container->set(CKEditor::class, [
            'preset' => 'standart',
            'clientOptions' => [
                    'extraPlugins' => $container->get(YoutubeEmbed::class)::getPluginName()
                ]
        ]);
    }
}
```

If you are using the  then an example code like this:

```
class SetUp implements BootstrapInterface
{
    public function bootstrap($app)
    {
        $container = Yii::$container;

        $container->set(YoutubeEmbed::class, ['depends' => ['mihaildev\ckeditor\Assets']]);

        $container->set(CKEditor::class, [
            'editorOptions' => [
                    'extraPlugins' => $container->get(YoutubeEmbed::class)::getPluginName()
                ]
        ]);
    }
}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

1862d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/17dd75a02e96212d6f31cff28baf28d94e1d4ff23de160237323c4161168bc93?d=identicon)[kosoukhov](/maintainers/kosoukhov)

---

Top Contributors

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

---

Tags

pluginyoutubeyii2extensionCKEditorembedyii 2kosoukhov

### Embed Badge

![Health badge](/badges/kosoukhov-yii2-ckeditor-youtube-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/kosoukhov-yii2-ckeditor-youtube-plugin/health.svg)](https://phpackages.com/packages/kosoukhov-yii2-ckeditor-youtube-plugin)
```

###  Alternatives

[kartik-v/yii2-widget-select2

Enhanced Yii2 wrapper for the Select2 jQuery plugin (sub repo split from yii2-widgets).

3279.7M191](/packages/kartik-v-yii2-widget-select2)[vova07/yii2-imperavi-widget

The imperavi redactor widget for Yii 2 framework.

243979.7k40](/packages/vova07-yii2-imperavi-widget)

PHPackages © 2026

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