PHPackages                             bhagat-abhishek/fb-comments - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bhagat-abhishek/fb-comments

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bhagat-abhishek/fb-comments
===========================

A Laravel package for integrating Facebook comments into your application.

v0.0.1(3y ago)044MITPHP

Since Mar 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bhagat-abhishek/fb-comments)[ Packagist](https://packagist.org/packages/bhagat-abhishek/fb-comments)[ RSS](/packages/bhagat-abhishek-fb-comments/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

FB Comments Package
===================

[](#fb-comments-package)

This is a package for integrating Facebook comments to your Laravel application.

Installation
------------

[](#installation)

To install the package, simply run:

```
composer require bhagat-abhishek/fb-comments
```

Configuration
-------------

[](#configuration)

After installing the package, add the service provider to your config/app.php file:

```
'providers' => [
    // ...
    BhagatAbhishek\FbComments\FbCommentsServiceProvider::class,
],
```

Then publish the configuration file by running the following command:

```
php artisan vendor:publish --provider="BhagatAbhishek\FbComments\FbCommentsServiceProvider" --tag="config"
```

This will create a fb-comments.php file in your config directory. In this file, you can configure the Facebook App ID and Secret, as well as other options for the package.

```
php artisan vendor:publish --provider="BhagatAbhishek\FbComments\FbCommentsServiceProvider" --tag="fb-comments-views"
```

This will publish the views files.

Next, add the following code on top of your layouts/app.blade.php file, just after the opening tag:

```
@include('fb-comments::fb-comments-script')
```

This will load the Facebook comments script on every page of your application.

Finally, wherever you want to render the comments, add the following code:

```
@include('fb-comments::fb-comments-code', ['url' => request()->url()])
```

This will render the Facebook comments for the current URL.

Usage
-----

[](#usage)

Here's an example of how to use the package:

```
@include('fb-comments::fb-comments-code', ['url' => request()->url()])
```

License
-------

[](#license)

This package is open-sourced software licensed under the MIT license.

Credits
-------

[](#credits)

This package was created by Bhagat Abhishek.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1142d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b2c76d09def183f2762626f60f9fbb2b17e878a128de88a8af74c24ce4d8d64?d=identicon)[bhagat-abhishek](/maintainers/bhagat-abhishek)

---

Top Contributors

[![bhagat-abhishek](https://avatars.githubusercontent.com/u/85464874?v=4)](https://github.com/bhagat-abhishek "bhagat-abhishek (3 commits)")

### Embed Badge

![Health badge](/badges/bhagat-abhishek-fb-comments/health.svg)

```
[![Health](https://phpackages.com/badges/bhagat-abhishek-fb-comments/health.svg)](https://phpackages.com/packages/bhagat-abhishek-fb-comments)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
