Looking to hire Laravel developers? Try LaraJobs

laravel-disqus maintained by sumantablog

Description
A Package for intrigate dosquss in laravel
Last update
2021/09/05 18:31 (dev-master)
License
Downloads
15

Comments
comments powered by Disqus

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>