mengidd / Disqus-Laravel by mengidd

A Laravel 5 package for the Disqus API
37
2
0
Package Data
Maintainer Username: mengidd
Maintainer Contact: fredrik@lamelol.com (Fredrik Eriksen)
Package Create Date: 2015-06-02
Package Last Update: 2019-09-20
Language: PHP
License: MIT
Last Refreshed: 2024-04-26 03:23:00
Package Statistics
Total Downloads: 37
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 0
Total Forks: 1
Total Open Issues: 0

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/