A simple Disqus platform integration with Laravel.
PHP
Clone or download
Latest commit 6198f40 Jan 3, 2018

README.md

Laravel - Disqus Platform Integration

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

A simple package integrating Disqus platform with Laravel.

Install

  • Via Composer
$ composer require yajra/laravel-disqus

Providers and Config

If you are using Laravel 5.5+ then the steps below are optional.

  • Register service provider
Yajra\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>

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email aqangeles@gmail.com instead of using the issue tracker.

Credits

Buy me a coffee

paypal Become a Patron

License

The MIT License (MIT). Please see License File for more information.