yii2mod/yii2-disqus Yii2 disqus comment widget

extension

DISQUS Widget for Yii2

DISQUS widget helps you to render your DISQUS comments thread or DISQUS comments thread count on your Yii2 applications

Latest Stable Version Total Downloads License

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'],
    ]);

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

  • 1.128 November 2016
  • 1.013 May 2016

Comments



1.1 is the latest of 2 releases



MIT license
Stats
6 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
248 total downloads