PHPackages                             kl3ryk/symfony-facebook-authentication-bundle - 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. kl3ryk/symfony-facebook-authentication-bundle

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

kl3ryk/symfony-facebook-authentication-bundle
=============================================

This package provides Symfony2 bundle for Facebok authentication.

1.1.1(12y ago)149MITPHPPHP &gt;=5.4CI failing

Since Jul 13Pushed 12y ago2 watchersCompare

[ Source](https://github.com/kl3ryk/symfony-facebook-authentication-bundle)[ Packagist](https://packagist.org/packages/kl3ryk/symfony-facebook-authentication-bundle)[ RSS](/packages/kl3ryk-symfony-facebook-authentication-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (13)Versions (6)Used By (0)

Symfony Facebook Authentication Bundle [![Build Status](https://camo.githubusercontent.com/6866d6b985cca93b869b28e4bb8eb2ab744f2c5009a84089175fe93e20c3a7c7/68747470733a2f2f7472617669732d63692e6f72672f6b6c3372796b2f73796d666f6e792d66616365626f6f6b2d61757468656e7469636174696f6e2d62756e646c652e706e673f6272616e63683d312e78)](https://travis-ci.org/kl3ryk/symfony-facebook-authentication-bundle)
=======================================================================================================================================================================================================================================================================================================================================================================================================

[](#symfony-facebook-authentication-bundle-)

This bundle provides **ready to use** Facebook Authentication solution.

Usage
-----

[](#usage)

### Basic configuration

[](#basic-configuration)

```
# config.yml

facebook:
    application_id: "your_application_id"
    secret: "your_application_secret"
```

```
# security.yml

firewalls:
    your_firewall:
        facebook: true
        pattern: /
```

### Requesting User Permissions

[](#requesting-user-permissions)

```
# config.yml

facebook:
    application_id: "your_application_id"
    secret: "your_application_secret"
    permissions:
        - example_permission_a
        - example_permission_b
        - example_permission_c
```

```
# security.yml

firewalls:
    your_firewall:
        facebook: true
        pattern: /
```

### Using Custom User Provider

[](#using-custom-user-provider)

```
# config.yml

facebook:
    application_id: "your_application_id"
    secret: "your_application_secret"
```

```
# security.yml

providers:
    your_user_provider:
        id: your.user.provider.service.id

firewalls:
    your_firewall:
        facebook: true
        pattern: /
        provider: your_user_provider
```

### Using Custom Authentication handlers

[](#using-custom-authentication-handlers)

```
# config.yml

facebook:
    application_id: "your_application_id"
    secret: "your_application_secret"
```

```
# security.yml

firewalls:
    your_firewall:
        facebook:
            failure_handler: your.authentication.failure_handler
            success_handler: your.authentication.success_handler
        pattern: /
```

### Using Several Facebook Applications

[](#using-several-facebook-applications)

```
# config.yml

facebook:
    application_id: "your_default_application_id"
    secret: "your_default_application_secret"
```

```
# security.yml

firewalls:
    your_foo_firewall:
        facebook: true
        pattern: /foo

    your_bar_firewall:
        facebook:
            application_id: "your_other_application_id"
            secret: "your_other_application_id"
        pattern: /bar

    your_baz_firewall:
        # default APP configuration, custom permissions
        facebook:
            permissions:
                - example_permission_a
                - example_permission_b
                - example_permission_c
        pattern: /baz
```

Semantic Versioning
-------------------

[](#semantic-versioning)

This repository follows [Semantic Versioning 2.0.0](http://semver.org/).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

Every ~10 days

Total

5

Last Release

4642d ago

### Community

Maintainers

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

---

Top Contributors

[![kl3ryk](https://avatars.githubusercontent.com/u/335431?v=4)](https://github.com/kl3ryk "kl3ryk (5 commits)")

---

Tags

symfonyfacebookAuthentication

### Embed Badge

![Health badge](/badges/kl3ryk-symfony-facebook-authentication-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kl3ryk-symfony-facebook-authentication-bundle/health.svg)](https://phpackages.com/packages/kl3ryk-symfony-facebook-authentication-bundle)
```

###  Alternatives

[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[scheb/2fa-bundle

A generic interface to implement two-factor authentication in Symfony applications

6914.0M61](/packages/scheb-2fa-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k172.9M1.8k](/packages/symfony-security-bundle)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)

PHPackages © 2026

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