PHPackages                             nikolaposa/disqus-helper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nikolaposa/disqus-helper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nikolaposa/disqus-helper
========================

PHP library which facilitates integration of Disqus widgets.

2.1.2(9y ago)432.3k1MITPHPPHP ~7.0

Since Sep 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/nikolaposa/disqus-helper)[ Packagist](https://packagist.org/packages/nikolaposa/disqus-helper)[ Docs](https://github.com/nikolaposa/disqus-helper)[ RSS](/packages/nikolaposa-disqus-helper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (15)Used By (1)

Disqus Helper
=============

[](#disqus-helper)

[![Build Status](https://camo.githubusercontent.com/d9206d04dce6c8a5e5588c6b2e4b5b569853c3836be54e62a12cb9bab046667e/68747470733a2f2f7472617669732d63692e6f72672f6e696b6f6c61706f73612f6469737175732d68656c7065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nikolaposa/disqus-helper)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5016c4de93339bf0410bebd799ebb122412b20cd1131a93b37970ff292ddc8e6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e696b6f6c61706f73612f6469737175732d68656c7065722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nikolaposa/disqus-helper/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/b7ffb30d649d7deb56796222b05096696a0c821e1a57b78c84eb01826763f7fa/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e696b6f6c61706f73612f6469737175732d68656c7065722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nikolaposa/disqus-helper/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/dac9491af7df97570499b495e293af701212fa425825891052a102bf50053852/68747470733a2f2f706f7365722e707567782e6f72672f6e696b6f6c61706f73612f6469737175732d68656c7065722f762f737461626c65)](https://packagist.org/packages/nikolaposa/disqus-helper)[![PDS Skeleton](https://camo.githubusercontent.com/a8ce1f2a7b71f101b18fc0393ba5bf89b7a5b1f9d08a31b658ca0eab0064c0f6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7064732d736b656c65746f6e2d626c75652e737667)](https://github.com/php-pds/skeleton)

PHP library which facilitates integration of [Disqus](https://disqus.com/) widgets.

Installation
------------

[](#installation)

The preferred method of installation is via [Composer](http://getcomposer.org/). Run the following command to install the latest version of a package and add it to your project's `composer.json`:

```
composer require nikolaposa/disqus-helper
```

Usage
-----

[](#usage)

**Initialization**

```
use DisqusHelper\Disqus;

$disqus = Disqus::create('disqus_shortname');
```

**Template**

```

        Blog

        configure([
                'page.identifier' => 'article1',
                'page.title' => 'My article',
            ]);
        ?>

            My article

            commentsCount(['url' => 'http://example.com/article1.html']); ?>

            My article text

            Comments:

            thread(); ?>

        getCode(); ?>

```

See [more examples](https://github.com/nikolaposa/disqus-helper/tree/master/examples).

Author
------

[](#author)

**Nikola Poša**

-
-

Copyright and license
---------------------

[](#copyright-and-license)

Copyright 2017 Nikola Poša. Released under MIT License - see the `LICENSE` file for details.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~37 days

Recently: every ~45 days

Total

14

Last Release

3418d ago

Major Versions

1.2.x-dev → 2.0.0-alpha2016-07-03

PHP version history (2 changes)v1.0.0PHP &gt;=5.3.3

2.0.0-alphaPHP ~7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/af5242d5454968c532cb32c3855f182f92ea1f833a67c03088aca866ddfb6ef6?d=identicon)[nikolaposa](/maintainers/nikolaposa)

---

Top Contributors

[![nikolaposa](https://avatars.githubusercontent.com/u/6012807?v=4)](https://github.com/nikolaposa "nikolaposa (94 commits)")

---

Tags

disqusdisqus-helperwidgetshelperwidgetdisqus

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/nikolaposa-disqus-helper/health.svg)

```
[![Health](https://phpackages.com/badges/nikolaposa-disqus-helper/health.svg)](https://phpackages.com/packages/nikolaposa-disqus-helper)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[kartik-v/yii2-social

Module containing useful widgets for Yii Framework 2.0 that integrates social functionalities from DISQUS, Facebook, Google etc.

91256.5k8](/packages/kartik-v-yii2-social)[beste/json

A simple JSON helper to decode and encode JSON

4222.7M3](/packages/beste-json)[chillerlan/php-settings-container

A container class for immutable settings objects. Not a DI container.

3427.3M21](/packages/chillerlan-php-settings-container)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
