Skip to content
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.
/ laravel-disqus Public archive

Disqus API library for Laravel

Notifications You must be signed in to change notification settings

LaraPalCom/laravel-disqus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Total Downloads

A Laravel 5 package for Disqus API.

Notes

Latest supported version for Laravel 5 is v1.* (e.g v1.2)

Latest supported version for Laravel 4 is v0.1.1.3

Branch dev-master is for development and is unstable

Installation

Run the following command and provide the latest stable version (e.g v1.2) :

composer require roumen/disqus

or add the following to your composer.json file :

"roumen/disqus": "1.*"

Then register this service provider with Laravel :

'Roumen\Disqus\DisqusServiceProvider',

In your controllers or routes you can create new disqus api object

$disqus = new \Disqus('YOUR_SECRET_KEY');

// to turn off SSL
$disqus->setSecure(false);

// example API call
$disqus->trends->listThreads();

Documentation on all methods, as well as general API usage can be found at http://disqus.com/api/

Examples

How to add your latest comments from disqus to your local DB

About disqus-php library

Author: DISQUS [email protected]

Copyright: 2007-2010 Big Head Labs

License: Apache version 2.0 (see disqusapi/LICENSE for more information)

Link: http://disqus.com/

About

Disqus API library for Laravel

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages