sumantablog / laravel-disqus
A Package for intrigate dosquss in laravel
Fund package maintenance!
infysumanta
Requires
- php: >=5.5.9
- illuminate/filesystem: *
- illuminate/support: *
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-05 23:46:46 UTC
README
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>