PHPackages                             sergmoro1/yii2-comment - 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. sergmoro1/yii2-comment

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

sergmoro1/yii2-comment
======================

Comment management. Reply, edit, approve. Chain of comments. Registered users only.

v1.0.4(6y ago)0371MITPHPPHP &gt;=5.4.0

Since Sep 2Pushed 6y agoCompare

[ Source](https://github.com/sergmoro1/yii2-comment)[ Packagist](https://packagist.org/packages/sergmoro1/yii2-comment)[ RSS](/packages/sergmoro1-yii2-comment/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (6)Used By (1)

Yii2 module for comment management
==================================

[](#yii2-module-for-comment-management)

Advantages
----------

[](#advantages)

Backend comment management. Ready to use widgets for frontend. Used with sergmoro1/yii2-blog-tools module.

- reply to the comment;
- approve comment or send it to archive;
- email notification about new comment.

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

[](#installation)

The preferred way to install this extension is through composer.

Either run

`composer require --prefer-dist sergmoro1/yii2-comment`

or add

`"sergmoro1/yii2-comment": "~1.0"`

to the require section of your composer.json.

Run migration:

```
php yii migrate --migrationPath=@vendor/sergmoro1/yii2-comment/src/migrations

```

Recomendation
-------------

[](#recomendation)

Use this module in addition to [sergmoro1/yii2-blog-tools](https://github.com/sergmoro1/yii2-blog-tools) module. Especially take a look `common/models/Comment.php` after `initblog`.

Usage
-----

[](#usage)

Set up in `backend/config/main.php` or `common/config/main.php`.

```
return [
    ...
    'bootstrap' => [
        'comment',
    ],
    'modules' => [
        'lookup' ==> ['class' ==> 'sergmoro1\lookup\Module'],
        'comment' ==> ['class' ==> 'sergmoro1\comment\Module'],
    ],
    ...
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

Total

5

Last Release

2356d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47754c3aa326cd8f607f8207a47193bb3286eac44fded6dd5a312da13358e76c?d=identicon)[sergmoro1](/maintainers/sergmoro1)

---

Top Contributors

[![sergmoro1](https://avatars.githubusercontent.com/u/5292104?v=4)](https://github.com/sergmoro1 "sergmoro1 (23 commits)")

---

Tags

yii2managementcommentapprovereply

### Embed Badge

![Health badge](/badges/sergmoro1-yii2-comment/health.svg)

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

PHPackages © 2026

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