frenzelgmbh/cm-comments Comments module for Yii2

widgetcommentmodule

yii2 cm-comments module

Author: Philipp Frenzel philipp@frenzel.net

cm comments module adds the possibility to add comments to a random model within a view. this is still under heavy development, so pls. don't use in production yet!

Latest Stable Version Build Status Code Climate Version Eye License

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist frenzelgmbh/cm-comments "*"

or add

"frenzelgmbh/cm-comments": "*"

to the require section of your composer.json file.

Configuration

  • Add module to config section:
'modules' => [
    'comment' => [
        'class' => 'net\frenzel\comment\Module'
    ]
]
  • Run migrations:
php yii migrate --migrationPath=@net/frenzel/comment/migrations
  • Use in view:
<?= \net\frenzel\comment\views\widgets\Comments::widget(['model'=>$model]); ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



0.0.4 is the latest of 4 releases



MIT license
Stats
1 github stars & 1 github forks
0 downloads in the last day
0 downloads in the last 30 days
357 total downloads