spanjeta/yii2-comments
最新稳定版本:v1.0
Composer 安装命令:
composer require spanjeta/yii2-comments
包简介
Comments Widget adds comment box for any view
关键字:
README 文档
README
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]); ?>```
统计信息
- 总下载量: 1.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2014-11-22