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 followers
0 downloads
Yii Version: 2.0
License: BSD-2-Clause
Category: User Interface
Tags: comments
Developed by: shiv
Created on: Nov 22, 2014
Last updated: 3 years ago

Related Extensions