UNDER DEVELOPING! DO NOT USE IN PRODUCTION!, (*1)
A simple comment extension., (*2)
Installation
1) Download extension, (*3)
The preferred way to install this extension is through composer., (*4)
Either run, (*5)
php composer.phar require --prefer-dist itsurka/yii2-simple-comment "*"
or add, (*6)
"itsurka/yii2-simple-comment": "*"
to the require section of your composer.json file., (*7)
2) Apply migrations from yii2-simple-comment/migrations folder., (*8)
Usage
Once the extension is installed, simply use it in your code by  :, (*9)
php
<?= SimpleComment::widget([
    'model'                => $model, // AR model for which will be displayed the comments widget.
    'author'               => $user, // AR model - comments author.
    'authorNameAttribute'  => 'username', // AR models name attribute.
    'authorNameAttribute'  => 'avatarUrl', // Avatar URL. Use this or $authorAvatarFunction param.
    'authorAvatarFunction' => 'getAvatarUrl', // To get avatar URL. Use this or $authorAvatarAttribute param.
    'authorAvatarWidth'    => '100',
    'authorAvatarHeight'   => '100',
]) ?>, (*10)