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)049MITPHPPHP &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 2w ago

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 47% 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

4692d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/335431?v=4)[Paweł Łaskarzewski](/maintainers/kl3ryk)[@kl3ryk](https://github.com/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

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)

PHPackages © 2026

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