PHPackages                             escapeboy/disqus - 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. [API Development](/categories/api)
4. /
5. escapeboy/disqus

ActiveLibrary[API Development](/categories/api)

escapeboy/disqus
================

Disqus API simple usage in Laravel 4

379PHP

Since Jun 24Pushed 12y ago2 watchersCompare

[ Source](https://github.com/escapeboy/disqus)[ Packagist](https://packagist.org/packages/escapeboy/disqus)[ RSS](/packages/escapeboy-disqus/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel 4 Disqus Package v0.1
=============================

[](#laravel-4-disqus-package-v01)

Simple package to work with Disqus

Installation
============

[](#installation)

With composer:

```
{
    ...
    "require": {
        "escapeboy/disqus": "dev-master"
    }
}

```

Register in `app/config/app.php`

```
'providers' => array(
    'Escapeboy\Disqus\DisqusServiceProvider',
)
```

Configuration
=============

[](#configuration)

Publish configuration file

```
php artisan config:publish escapeboy/disqus

```

In `app/config/packages/escapeboy/disqus/config.php` edit configuration file:

```
return array(
		'api_key' => '', // your disqus api key
		'api_secret' => '', // your disqus secret
		'api_version' => '3.0', // disqus API version used. Do not change it
		'cache_time' => 60, // cache time in minutes used to cache results
		'forum'	=> '' // your disqus forum (shortname)
	);
```

Usage
=====

[](#usage)

For example we want to get from API info for some thread We want section "thread", sub-section "details". And we provide "thread:link" (can use "thread:ident" or "thread") It will return json. More info here:

```
// Disqus::get($section, $method, $params=array()
$thread = Disqus::get('threads', 'details', array('thread:link' => 'http://thread_url'));
```

Sending data to Disqus

```
Disqus::post('posts', 'create', array('message' => 'Yo! Nice thread!', 'thread' => 12));
```

Some shorthand functions
========================

[](#some-shorthand-functions)

```
$comment_count = Disqus::commentsCount('http://thread_url'); // returns integer of comments count for given url
```

*... more functions comming in next releases*

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/65ef8df08f1932ef79020d023bbf1853ae320e4d93061a318bd8e321525d6528?d=identicon)[escapeboy](/maintainers/escapeboy)

---

Top Contributors

[![escapeboy](https://avatars.githubusercontent.com/u/115266?v=4)](https://github.com/escapeboy "escapeboy (16 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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