Yii2 disqus comment widget

Installs: 248

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 3

Forks: 0

Open Issues: 0


1.1 2016-11-28 08:53 UTC

This package is not auto-updated.

Last update: 2024-04-10 13:19:26 UTC


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


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.


  • 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'],