PHPackages                             alpiiscky/yii2-comments - 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. alpiiscky/yii2-comments

ActiveYii2-extension

alpiiscky/yii2-comments
=======================

Comments module for Yii2

017PHP

Since Jan 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/alpiiscky/yii2-comments)[ Packagist](https://packagist.org/packages/alpiiscky/yii2-comments)[ RSS](/packages/alpiiscky-yii2-comments/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-comments [![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE) [![Scrutinizer](https://camo.githubusercontent.com/3e3aab626999a78222f786dce41024b8774a58561b917096158a8e7c297060f8/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6f6768656f2f796969322d636f6d6d656e74732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ogheo/yii2-comments/)
============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#yii2-comments--)

Комментарии для yii2

Установка
---------

[](#установка)

```
composer require "alpiiscky/yii2-comments:*"

```

или

```
"alpiiscky/yii2-comments": "*"

```

Зависимости
-----------

[](#зависимости)

Расширение представлет собой измененную версию расширения `ogheo/yii2-comments` с правками под `webvimark/module-user-management` и небольшими правками.

### Миграции

[](#миграции)

```
php yii migrate/up --migrationPath=@vendor/alpiiscky/yii2-comments/src/migrations

```

### Настройка

[](#настройка)

```
'modules' => [
    'comments' => [
        'class' => 'alpiiscky\comments\Module',
    ]
]

```

Если необходимо чтобы комментарии публиковались сразу, без модерации, то указать переменную `'new_comments' => 1 ` в файле конфигурации `params` проекта

Использование
-------------

[](#использование)

```
use alpiiscky\comments\widget\Comments;

echo Comments::widget();

```

### Расширенное использование

[](#расширенное-использование)

```
use alpiiscky\comments\widget\Comments;

echo Comments::widget([
    'model' => $model,
    'model_key' => $model_key,
]);

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/369d81b6712a34e223c331a92923b1fbf16a7e3dfba2dd28b1a3fc0a514937b7?d=identicon)[DmitriyAkhmetov](/maintainers/DmitriyAkhmetov)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/alpiiscky-yii2-comments/health.svg)

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

PHPackages © 2026

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