klxdr/yii2-hc-widget
Composer 安装命令:
composer require klxdr/yii2-hc-widget
包简介
HC widget for Yii2.
README 文档
README
Installation
The preferred way to install this extension is through composer.
Either run
composer require klxdr/yii2-hc-widget:~1.0
or add
"klxdr/yii2-hc-widget" : "~1.0"
to the require section of your application's composer.json file.
Usage
Read documentation firstly https://www.hypercomments.com/ru/documentation/
To display HC comments
use klxdr\hc\Comments; echo Comments::widget([ 'siteid' => WIDGET_ID, 'identifier' => XID ]);
To render CommentsCount widget write:
use klxdr\hc\CommentsCount; CommentsCount::widget([ 'siteid' => WIDGET_ID, 'identifier' => XID ]);
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-07-19