NOT READY YET. Please do not use it yet
Comments Widget adds comment box for any view, (*1)
Installation
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist spanjeta/yii2-comments "*"
or add, (*4)
"spanjeta/yii2-comments": "*"
to the require section of your composer.json
file., (*5)
Usage
Once the extension is installed, use mitration to install table, (*6)
yii migrate/up --migrationPath=@spanjeta/comments/migrations
simply use it in your code by :, (*7)
php
<?= \spanjeta\comments\CommentsWidget::widget(['model'=>$model]); ?>
, (*8)