PHPackages                             laravel-enso/facebook - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. laravel-enso/facebook

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

laravel-enso/facebook
=====================

Facebook verification settings for Laravel Enso

2.6.2(2mo ago)07.2k↓65.3%1MITPHPPHP ^8.0

Since Aug 12Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/laravel-enso/facebook)[ Packagist](https://packagist.org/packages/laravel-enso/facebook)[ Docs](https://github.com/laravel-enso/facebook)[ RSS](/packages/laravel-enso-facebook/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (23)Used By (0)

Facebook
========

[](#facebook)

[![License](https://camo.githubusercontent.com/f0eb6674bd9a24af001e58de560eb8373d371dd4e1bfa9c9286b391ef09b8183/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f66616365626f6f6b2f6c6963656e7365)](LICENSE)[![Stable](https://camo.githubusercontent.com/64a7b5b9428f038146d9e0f83e31f19ebf44bbf8b7069dd1790c71f304424508/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f66616365626f6f6b2f76657273696f6e)](https://packagist.org/packages/laravel-enso/facebook)[![Downloads](https://camo.githubusercontent.com/168f2b39abf6b322f3b128aefc2f56f8aa7da7cc415167c19d7638a7074db874/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2d656e736f2f66616365626f6f6b2f646f776e6c6f616473)](https://packagist.org/packages/laravel-enso/facebook)[![PHP](https://camo.githubusercontent.com/ef6afd4ccdaa708a9b1a0a353d6d03a13ca1f03887b8db701d4118dc30a6735a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e302532422d3737376262342e737667)](composer.json)[![Issues](https://camo.githubusercontent.com/5950b660d4ece1096ba8d21dc358096ce1b0b3e6e352f250eee13ed83fda11aa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6c61726176656c2d656e736f2f66616365626f6f6b2e737667)](https://github.com/laravel-enso/facebook/issues)[![Merge Requests](https://camo.githubusercontent.com/966d96bd27343f8efa669444da22650dbd76f612e9f61422483be103e8fd0736/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f6c61726176656c2d656e736f2f66616365626f6f6b2e737667)](https://github.com/laravel-enso/facebook/pulls)

Description
-----------

[](#description)

Facebook adds a small Enso integration layer for Facebook page and domain-verification settings.

The package stores a single settings record, exposes a settings form under the Integrations area, and supports environment-level overrides for the verification code and page ID. It also contains a manual upgrade class for removing legacy table columns when the integration moves to environment-based configuration.

It is a lightweight settings package rather than a full Facebook API client.

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

[](#installation)

Install the package:

```
composer require laravel-enso/facebook
```

Run the package migrations:

```
php artisan migrate
```

Optional publish:

```
php artisan vendor:publish --tag=facebook-config
```

Default configuration:

```
return [
    'verificationCode' => env('FACEBOOK_VERIFICATION_CODE'),
    'pageId' => env('FACEBOOK_PAGE_ID'),
];
```

Environment configuration takes precedence over database values returned by the settings model.

Features
--------

[](#features)

- Settings record for page ID and verification-code management.
- Settings endpoints under `integrations.facebook.settings`.
- Config-based overrides for runtime access.
- Manual upgrade helper for removing deprecated database columns.

Usage
-----

[](#usage)

Use the settings model to resolve current integration values:

```
use LaravelEnso\Facebook\Models\Settings;

$pageId = Settings::pageId();
$verificationCode = Settings::verificationCode();
```

When present, `FACEBOOK_PAGE_ID` and `FACEBOOK_VERIFICATION_CODE` override the persisted values.

API
---

[](#api)

### HTTP routes

[](#http-routes)

- `GET api/integrations/facebook/settings`
- `PATCH api/integrations/facebook/settings/{settings}`

Route names:

- `integrations.facebook.settings.index`
- `integrations.facebook.settings.update`

### Upgrade helper

[](#upgrade-helper)

- `LaravelEnso\\Facebook\\Upgrades\\DeprecateFacebookTableColumns`

Behavior:

- runs manually
- removes the legacy `page_id` and `verification_code` columns from `facebook_settings`

Depends On
----------

[](#depends-on)

Required Enso packages:

- [`laravel-enso/core`](https://docs.laravel-enso.com/backend/core.html) [↗](https://github.com/laravel-enso/core)

Companion frontend package:

- [`@enso-ui/facebook`](https://docs.laravel-enso.com/frontend/facebook.html) [↗](https://github.com/enso-ui/facebook)

Contributions
-------------

[](#contributions)

are welcome. Pull requests are great, but issues are good too.

Thank you to all the people who already contributed to Enso!

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance86

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~114 days

Recently: every ~4 days

Total

16

Last Release

67d ago

Major Versions

1.0.1 → 2.0.02022-02-25

PHP version history (2 changes)1.0.0PHP &gt;=8.0

2.1.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16073274?v=4)[Adrian Ocneanu](/maintainers/aocneanu)[@aocneanu](https://github.com/aocneanu)

---

Top Contributors

[![vmcvlad](https://avatars.githubusercontent.com/u/37445394?v=4)](https://github.com/vmcvlad "vmcvlad (12 commits)")[![gandesc](https://avatars.githubusercontent.com/u/14071925?v=4)](https://github.com/gandesc "gandesc (5 commits)")[![aocneanu](https://avatars.githubusercontent.com/u/16073274?v=4)](https://github.com/aocneanu "aocneanu (4 commits)")[![AbdullahiAbdulkabir](https://avatars.githubusercontent.com/u/33360580?v=4)](https://github.com/AbdullahiAbdulkabir "AbdullahiAbdulkabir (2 commits)")[![GITmanuela](https://avatars.githubusercontent.com/u/44998004?v=4)](https://github.com/GITmanuela "GITmanuela (2 commits)")

### Embed Badge

![Health badge](/badges/laravel-enso-facebook/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-enso-facebook/health.svg)](https://phpackages.com/packages/laravel-enso-facebook)
```

###  Alternatives

[laravel-enso/permissions

Permission management for Laravel Enso

1244.2k51](/packages/laravel-enso-permissions)[laravel-enso/roles

Role management for Laravel Enso

1044.9k32](/packages/laravel-enso-roles)[laravel-enso/localisation

Language and translation management for Laravel Enso

1362.8k10](/packages/laravel-enso-localisation)[laravel-enso/data-import

Excel Importer dependency for Laravel Enso

2044.0k6](/packages/laravel-enso-data-import)[laravel-enso/logs

Application log management for Laravel Enso

1143.7k9](/packages/laravel-enso-logs)[laravel-enso/tutorials

Tutorial management backend for Laravel Enso

1140.7k](/packages/laravel-enso-tutorials)

PHPackages © 2026

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