PHP code example of yajra / laravel-disqus

1. Go to this page and download the library: Download yajra/laravel-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/ */

    

yajra / laravel-disqus example snippets


Yajra\Disqus\DisqusServiceProvider::class
bash
$ php artisan vendor:publish --tag=disqus
 php
DISQUS_ENABLED=true
DISQUS_USERNAME=your_website_shortname