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: | 2025-04-22 15:02:00 |
Package Statistics | |
---|---|
Total Downloads: | 41 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 0 |
Total Forks: | 1 |
Total Open Issues: | 0 |
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.
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/