frenzelgmbh / cm-comments
Comments module for Yii2
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Package info
github.com/FrenzelGmbH/cm-comments
Type:yii2-extension
pkg:composer/frenzelgmbh/cm-comments
0.0.4
2017-01-26 15:06 UTC
Requires
- php: >=5.4.0
- philippfrenzel/yii2-textareaautosize: *
- rmrevin/yii2-fontawesome: 2.*
- yiisoft/yii2: 2.0.*
Requires (Dev)
This package is not auto-updated.
Last update: 2026-01-11 13:58:07 UTC
README
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!
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]); ?>