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

AbandonedArchivedLibrary[API Development](/categories/api)

irazasyed/laravel-facebook
==========================

Laravel 4 support for Facebook SDK

v1.0.1(11y ago)51.2k4MITPHPPHP &gt;=5.3.0

Since Sep 7Pushed 6y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Laravel-Facebook Package
========================

[](#laravel-facebook-package)

[![Join PHP Chat](https://camo.githubusercontent.com/29f67fb2289efd1ecede6eaa41c82be0e3f93dbf5a8193f1f0fc1b4f33719fa7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f536c61636b2d504850253230436861742d3563366161612e7376673f7374796c653d666c61742d737175617265266c6f676f3d736c61636b266c6162656c436f6c6f723d344131353442)](https://phpchat.co/?ref=laravel-facebook)[![Chat on Telegram](https://camo.githubusercontent.com/c793b6d887d39dac6773fa734b19b63fb1b8a392156528c648c2564000509eba/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4050485043686174436f2d3243413545302e7376673f7374796c653d666c61742d737175617265266c6f676f3d74656c656772616d266c6162656c3d54656c656772616d)](https://t.me/PHPChatCo)[![Laravel Package](https://camo.githubusercontent.com/28ddb677b069fab3541e0a67178e45c3874ee327081c0b6a1cc2e1c93c3dd425/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d342d4646324432302e7376673f7374796c653d666c61742d737175617265266c6f676f3d6c61726176656c266c6162656c436f6c6f723d626c61636b266c6f676f436f6c6f723d7768697465)](https://github.com/irazasyed/laravel-facebook)[![Latest Version on Packagist](https://camo.githubusercontent.com/1b3c323bbecd904b6f695d7ffcd939ef978b7ab8aa86b487dec235624599e9f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6972617a61737965642f6c61726176656c2d66616365626f6f6b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/irazasyed/laravel-facebook)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/dcca2a4d28b388adfafde4a9c68bcda0c79e2ea3c706127d5da1a529da462678/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6972617a61737965642f6c61726176656c2d66616365626f6f6b2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/irazasyed/laravel-facebook)[![Total Downloads](https://camo.githubusercontent.com/ec369d1f893faba3de2bff4c62057bfc3d9560768676b2f93e26ab46fdcc6904/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6972617a61737965642f6c61726176656c2d66616365626f6f6b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/irazasyed/laravel-facebook)

**Laravel 4** Support for [Facebook PHP SDK](https://github.com/facebook/facebook-php-sdk) and additional helper methods.

Quick start
-----------

[](#quick-start)

### Required setup / Installation

[](#required-setup--installation)

You can either add the package directly by firing this command

```
$ composer require irazasyed/laravel-facebook:^1.0

```

Or add in the `require` key of `composer.json` file manually by add the following

```
"irazasyed/laravel-facebook": "^1.0"

```

And Run the Composer update comand

```
$ composer update

```

In your `app/config/app.php` add `'Irazasyed\LaravelFacebook\LaravelFacebookServiceProvider'` to the end of the `$providers` array

```
'providers' => array(

    'Illuminate\Foundation\Providers\ArtisanServiceProvider',
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'Irazasyed\LaravelFacebook\LaravelFacebookServiceProvider',

),

```

At the end of `app/config/app.php` add `'FB' => 'Irazasyed\LaravelFacebook\FacebookFacade'` to the `$aliases` array

```
'aliases' => array(

    'App'        => 'Illuminate\Support\Facades\App',
    'Artisan'    => 'Illuminate\Support\Facades\Artisan',
    ...
    'FB'    => 'Irazasyed\LaravelFacebook\FacebookFacade',

),

```

**NOTE:** Don't use `Facebook` as your facade alias as it conflicts with the SDK itself. Because the SDK doesn't have namespace (And they ain't adding it either).

### Configuration

[](#configuration)

Copy the config file into your project by running

```
php artisan config:publish irazasyed/laravel-facebook

```

It'll publish under `app/config/packages`

Edit the config file to include your App ID and secret key into `init` option. See config file for more configuration options.

**And you are ready to go.**

Usage
-----

[](#usage)

This Package extends the Facebook PHP SDK, So all the methods listed here  are available, as well as the following methods/helpers.

**Adding Soon!**

Credits
-------

[](#credits)

- [Syed](https://github.com/irazasyed)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.3% 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

Every ~25 days

Total

2

Last Release

4239d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/342057ab9fe14ca6e5dd512f5972b639efeadadd79579f4b8950c7cb3bbddc17?d=identicon)[irazasyed](/maintainers/irazasyed)

---

Top Contributors

[![irazasyed](https://avatars.githubusercontent.com/u/1915268?v=4)](https://github.com/irazasyed "irazasyed (12 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")

---

Tags

laravelfacebookgraph-apiFacebook-apifacebook sdklaravel facebook

### Embed Badge

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

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

###  Alternatives

[joelbutcher/laravel-facebook-graph

Laravel wrapper for the Facebook Graph SDK for PHP 7.4 and PHP 8.

74144.4k](/packages/joelbutcher-laravel-facebook-graph)[casperlaitw/laravel-fb-messenger

A Laravel Package to Integrate Facebook Messenger API

10631.5k](/packages/casperlaitw-laravel-fb-messenger)[missael-anda/laravel-whatsapp

A Whatsapp Business Cloud API wrapper for Laravel.

677.5k](/packages/missael-anda-laravel-whatsapp)[pitchanon/facebook-connect

A Laravel package for connecting to the Meta (Facebook) Graph API.

264.3k1](/packages/pitchanon-facebook-connect)

PHPackages © 2026

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