PHP code example of roumen / disqus

1. Go to this page and download the library: Download roumen/disqus library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

roumen / disqus example snippets


'Roumen\Disqus\DisqusServiceProvider',

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

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

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