Skip to content

spanjeta/yii2-comments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOT READY YET. Please do not use it yet

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]); ?>```

About

Comments Widget adds comment box for any view

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages