yii2-comments Let you add comments to any View

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]); ?>
2 0
4
0
Yii Version: 2.0
License: BSD-2-Clause
Category: User Interface
Developed by: shiv shiv
Created: Nov 22, 2014
Updated: 11 years ago

Related Extensions