mengidd / disqus
A Laravel 5 wrapper for the Disqus API
v1.0.1
2015-06-04 08:29 UTC
Requires
- php: >=5.4.0
- illuminate/support: 5.0.*
This package is auto-updated.
Last update: 2025-04-18 23:09:01 UTC
README
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/