PHPackages                             pageboost/facebook-laravel - 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. [API Development](/categories/api)
4. /
5. pageboost/facebook-laravel

AbandonedArchivedLibrary[API Development](/categories/api)

pageboost/facebook-laravel
==========================

Facebook PHP SDK for Laravel 4.1

3611PHP

Since Mar 27Pushed 12y ago1 watchersCompare

[ Source](https://github.com/PageBoost/facebook-laravel)[ Packagist](https://packagist.org/packages/pageboost/facebook-laravel)[ RSS](/packages/pageboost-facebook-laravel/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Facebook PHP SDK for Laravel 4.1
================================

[](#facebook-php-sdk-for-laravel-41)

Facebook PHP SDK wrapper package with Facebook Connect support through Laravel Session.

Most Facebook wrapper packages for Laravel just bootstrap the Facebook class from SDK which use PHP native session and cookies. Native PHP session is ok, but not usable in load balanced applications.

Moreover Laravel works only with encrypted cookies which increase application security. You can change your session provider to Redis, memcached or whatever and this will not break your Facebook Login integration!

---

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

[](#installation)

Begin by installing this package through Composer.

```
{
    "require": {
        "PageBoost/facebook-laravel": "dev-master"
    }
}
```

Open `app/config/app.php` and add following Service Provider and Facade

```
// Provider
'providers' => array(
    'PageBoost\FacebookLaravel\FacebookServiceProvider',
)
// Facade
'aliases' => array(
    'FB' => 'PageBoost\FacebookLaravel\Facades\LaravelFacebook',
)
```

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

[](#configuration)

- Publish package configs `php artisan config:publish pageboost/facebook-laravel`
- Customize `config.php` with your information

Setting details are.

- `appId`: Your facebook app id.
- `secret`: Your facebook app secret.
- `laravelDebug`: Indicates if api calls and internal `BaseFacebook` errors should be logged in `laravel.log`
- `allowSignedRequest`: Indicates if signed\_request is allowed in query parameters.
- `fileUpload`: Indicates if the CURL based @ syntax for file uploads is enabled.
- `trustForwarded`: // Indicates if we trust HTTP\_X\_FORWARDED\_\* headers.

License
-------

[](#license)

[View the license](https://github.com/PageBoost/facebook-laravel/blob/master/LICENSE) for this repo.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fd04d62709acecee7a58f735d73422f467fc4b2236ad3944c0b4b54449dd0db?d=identicon)[drekinov](/maintainers/drekinov)

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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