yii2mod/yii2-disqus
最新稳定版本:1.1
Composer 安装命令:
composer require yii2mod/yii2-disqus
包简介
Yii2 disqus comment widget
关键字:
README 文档
README
DISQUS widget helps you to render your DISQUS comments thread or DISQUS comments thread count on your Yii2 applications
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist yii2mod/yii2-disqus "*"
or add
"yii2mod/yii2-disqus": "*"
to the require section of your composer.json.
Usage
- Once the extension is installed, simply add widget to your page as follows:
echo \yii2mod\disqus\Disqus::widget([ 'options' => ['shortname' => 'DISQUS_SHORTNAME'] ]);
- Advanced widget usage
echo \yii2mod\disqus\Disqus::widget([ 'options' => ['shortname' => 'DISQUS_SHORTNAME', 'identifier'=>'DISQUS_IDENTIFIER', 'url'=>'URL'], ]);
统计信息
- 总下载量: 255
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-08