frenzelgmbh/cm-comments 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

frenzelgmbh/cm-comments

最新稳定版本:0.0.4

Composer 安装命令:

composer require frenzelgmbh/cm-comments

包简介

Comments module for Yii2

README 文档

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!

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

统计信息

  • 总下载量: 374
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 4
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-04