PHPackages                             alex290/yii2-widget-content-old - 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. alex290/yii2-widget-content-old

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

alex290/yii2-widget-content-old
===============================

Widget content old

0.2.6(1y ago)08MITJavaScript

Since Sep 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/alex290/yii2-widget-content-old)[ Packagist](https://packagist.org/packages/alex290/yii2-widget-content-old)[ RSS](/packages/alex290-yii2-widget-content-old/feed)WikiDiscussions main Synced 1mo ago

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

Widget content
==============

[](#widget-content)

Widget content

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist alex290/yii2-widget-content "*"

```

or add

```
"alex290/yii2-widget-content-old": "*"

```

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

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

в конфиге web.php прописать

```
'modules' => [
    'widget-content' => [
        'class' => 'alex290\widgetContentOld\Module',
        'path' => 'upload', //path to files
        'ckeditorPath' => '/web/lib/ckeditor/ckeditor.js', // Путь к внешнему Ckeditor - Необязательно
        'ckeditorConfig' => '/web/lib/ckeditor/config-st.js', // Путь к конфигурации внешнего Ckeditor  - Необязательно
    ],
],

```

run migrate

php yii migrate/up --migrationPath=@vendor/alex290/yii2-widget-content/migrations

attach behaviour to your model (be sure that your model has "id" property)

```
public function behaviors()
{
    return [
        'widget' => [
            'class' => 'alex290\widgetContentOld\behaviors\Behave',
        ]
    ];
}

```

Вывести виджет в админке

```

```

Получить массив объектов виджетов данной модели

```
$model->getContent();

```

Удалить виджеты

```
$model->removeWidgetAll();

$model->removeWidget($id);

```

Выводить записи на странице

```

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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

600d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/35fd7f2d7b8be6fef06a2c6aee576282f55559098fd5d6075a7fedc80df48f34?d=identicon)[alex290](/maintainers/alex290)

---

Top Contributors

[![alex290](https://avatars.githubusercontent.com/u/13647764?v=4)](https://github.com/alex290 "alex290 (8 commits)")

---

Tags

yii2extension

### Embed Badge

![Health badge](/badges/alex290-yii2-widget-content-old/health.svg)

```
[![Health](https://phpackages.com/badges/alex290-yii2-widget-content-old/health.svg)](https://phpackages.com/packages/alex290-yii2-widget-content-old)
```

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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