sumantablog/laravel-disqus

A Package for intrigate dosquss in laravel

dev-master / 1.0.x-dev 2021-09-05 16:31 UTC

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>