mengidd/disqus

A Laravel 5 wrapper for the Disqus API

v1.0.1 2015-06-04 08:29 UTC

This package is auto-updated.

Last update: 2024-04-18 20:56:52 UTC


README

Total Downloads

Installation

Run the following command to install:

composer require mengidd/disqus

or add the following to your composer.json file and run composer update:

"mengidd/disqus": "1.0.*"

Register the service provider with Laravel:

'Mengidd\Disqus\Providers\DisqusServiceProvider',

Publish the configuration file:

php artisan vendor:publish

Update the configuration file config/disqus.php with your API keys.

Usage

To use the class, simply put this among your use statements in your file:

use Mengidd\Disqus\Disqus;

You can then use the API like this:

$disqus = new Disqus();

// Example API call
$disqus->threads->list();

Documentation on methods and API usage can be found at http://disqus.com/api/