PHPackages                             floor12/yii2-summernote - 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. floor12/yii2-summernote

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

floor12/yii2-summernote
=======================

This Yii2 component helps to organize page title, meta tags and `og` and `twitter` open graph tags in with a fiew lines of code.

1.0.1(3y ago)110.5k↓50%4[2 issues](https://github.com/floor12/yii2-summernote/issues)1MITJavaScriptPHP &gt;=7.1.0CI failing

Since Nov 28Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (3)Used By (1)

yii2-summernote
===============

[](#yii2-summernote)

The [Summernote](https://summernote.org/) WYSIWYG-editor [Yii-widget](https://yiiframework.ru/), with all included assets.

[![Latest Stable Version](https://camo.githubusercontent.com/40e0b1d3ecc87983a8e591ac047f2f494766dcead5dd4a845dd17e3edf314474/687474703a2f2f706f7365722e707567782e6f72672f666c6f6f7231322f796969322d73756d6d65726e6f74652f76)](https://packagist.org/packages/floor12/yii2-summernote)[![Total Downloads](https://camo.githubusercontent.com/d336cb698f2864ef7e125c9cbfb61e71ee69a000f383d969c7748803df7e29fc/687474703a2f2f706f7365722e707567782e6f72672f666c6f6f7231322f796969322d73756d6d65726e6f74652f646f776e6c6f616473)](https://packagist.org/packages/floor12/yii2-summernote)[![Latest Unstable Version](https://camo.githubusercontent.com/db9e5c0a3bcfd9191023c616f60aa670e9d2e1f61fb794852ba740f0c34b697c/687474703a2f2f706f7365722e707567782e6f72672f666c6f6f7231322f796969322d73756d6d65726e6f74652f762f756e737461626c65)](https://packagist.org/packages/floor12/yii2-summernote)[![License](https://camo.githubusercontent.com/0aa4dbd3a896814b129796ea3edca48290789d5d124398f93d6562e6de25528b/687474703a2f2f706f7365722e707567782e6f72672f666c6f6f7231322f796969322d73756d6d65726e6f74652f6c6963656e7365)](https://packagist.org/packages/floor12/yii2-summernote)[![PHP Version Require](https://camo.githubusercontent.com/1eaf0515035107ea4eb58028d585ae40ee72ecf47e2d09676d33e0374743e9e8/687474703a2f2f706f7365722e707567782e6f72672f666c6f6f7231322f796969322d73756d6d65726e6f74652f726571756972652f706870)](https://packagist.org/packages/floor12/yii2-summernote)

[![Widget example](https://camo.githubusercontent.com/e59dc90e7940f5b542c85068b897c5cffa60d1f32b7e645191c97bf92792788b/68747470733a2f2f666c6f6f7231322e6e65742f656e2f66696c65732f64656661756c742f696d6167653f686173683d38316566346165386365346366316332383861643964643738666637326563322677696474683d31353030)](https://camo.githubusercontent.com/e59dc90e7940f5b542c85068b897c5cffa60d1f32b7e645191c97bf92792788b/68747470733a2f2f666c6f6f7231322e6e65742f656e2f66696c65732f64656661756c742f696d6167653f686173683d38316566346165386365346366316332383861643964643738666637326563322677696474683d31353030)

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

[](#installation)

Install the widget via composer: Execute the command

```
$ composer require floor12/yii2-summernote
```

Usage
-----

[](#usage)

The simplest example:

```
use floor12\summernote\Summernote;

echo Summernote::widget(['name' => 'some_field'])
```

The`ActiveForm` and `ActiveRecord` model example:

```
$form = ActiveForm::begin();

echo $form->field($model, 'content_ru')
    ->widget(Summernote::class);

ActiveForm::end();
```

An example of integrating with [my files module](https://github.com/floor12/yii2-module-files) to intercept editors uploads, save them separately and then use in the editor.

```
$form = ActiveForm::begin();

echo $form->field($model, 'content_ru')
    ->widget(Summernote::class, [
        'fileField' => 'imagesDesktop',
        'fileModelClass' => $model::class
    ]);

echo $form->field($model, 'imagesDesktop')
    ->widget(FileInputWidget::class);

ActiveForm::end();
```

[![Working example](https://camo.githubusercontent.com/64c30bf750256cf19217fc0fa5e1bfe3d4be760d5a6857586d546b54ad4c3a24/68747470733a2f2f666c6f6f7231322e6e65742f656e2f66696c65732f64656661756c742f696d6167653f686173683d38363863393735326138363832303639326461626362333334663736366466372677696474683d31353030)](https://camo.githubusercontent.com/64c30bf750256cf19217fc0fa5e1bfe3d4be760d5a6857586d546b54ad4c3a24/68747470733a2f2f666c6f6f7231322e6e65742f656e2f66696c65732f64656661756c742f696d6167653f686173683d38363863393735326138363832303639326461626362333334663736366466372677696474683d31353030)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity46

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

Every ~382 days

Total

2

Last Release

1241d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8dc98d778cb18db41a1e5b9df722c56f65f655de44fe0d581484cd8dea31b928?d=identicon)[floor12](/maintainers/floor12)

---

Top Contributors

[![floor12](https://avatars.githubusercontent.com/u/8406969?v=4)](https://github.com/floor12 "floor12 (16 commits)")

---

Tags

yii2yiiyii 2yii2 widgetsummernotefloor12yii2 component

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/floor12-yii2-summernote/health.svg)

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

PHPackages © 2026

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