spanjeta / yii2-comments
Comments Widget adds comment box for any view
Package info
github.com/spanjeta/yii2-comments
Type:yii2-extension
pkg:composer/spanjeta/yii2-comments
v1.0
2015-06-05 06:21 UTC
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2026-03-14 23:44:28 UTC
README
Comments Widget
Comments Widget adds comment box for any view
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist spanjeta/yii2-comments "*"
or add
"spanjeta/yii2-comments": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, use mitration to install table
yii migrate/up --migrationPath=@spanjeta/comments/migrations
simply use it in your code by :
<?= \spanjeta\comments\CommentsWidget::widget(['model'=>$model]); ?>```