laravel-disqus maintained by sumantablog
Laravel - Disqus Platform Integration
A simple package integrating Disqus platform with Laravel.
Install
- Via Composer
$ composer require sumantablog/laravel-disqus
Providers and Config
If you are using Laravel 5.5+ then the steps below are optional.
- Register service provider
Sumantablog\Disqus\DisqusServiceProvider::class
- Publish config
$ php artisan vendor:publish --tag=disqus
Config
Append the following config on your .env file.
DISQUS_ENABLED=true
DISQUS_USERNAME=your_website_shortname
Usage
To display Disqus platform on your page, just add:
<div id="disqus_thread"></div>