PHPackages                             inspiredminds/contao-facebook-login - 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. inspiredminds/contao-facebook-login

ActiveContao-bundle[Authentication &amp; Authorization](/categories/authentication)

inspiredminds/contao-facebook-login
===================================

Contao 4 bundle for a Facebook login.

2.3.1(3y ago)78735LGPL-3.0-or-laterPHPPHP &gt;=7.1

Since Nov 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/inspiredminds/contao-facebook-login)[ Packagist](https://packagist.org/packages/inspiredminds/contao-facebook-login)[ Docs](https://github.com/inspiredminds/contao-facebook-login)[ GitHub Sponsors](https://github.com/sponsors/fritzmg)[ RSS](/packages/inspiredminds-contao-facebook-login/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (6)Versions (14)Used By (0)

[![](https://camo.githubusercontent.com/4927bc83dd83b1e78648d7ab7da68b824faee3d465e8b43e9ccfa9ffe4d0b1e9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e7370697265646d696e64732f636f6e74616f2d66616365626f6f6b2d6c6f67696e2e737667)](https://packagist.org/packages/inspiredminds/contao-facebook-login)[![](https://camo.githubusercontent.com/96801324fe7af9c8600d5853f416d5eebeeb0556afa6ee9baa02bb30674947a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f696e7370697265646d696e64732f636f6e74616f2d66616365626f6f6b2d6c6f67696e2e737667)](https://packagist.org/packages/inspiredminds/contao-facebook-login)

Contao Facebook Login
=====================

[](#contao-facebook-login)

Contao 4 bundle for a Facebook login.

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

[](#installation)

Require the bundle via composer:

```
composer require inspiredminds/contao-facebook-login

```

If you use the Contao Standard Edition, you will have to add

```
new FacebookLoginBundle\FacebookLoginBundle()
```

to your `AppKernel.php`. You will also need to add the bundle's routes to your `app/config/routing.yml`:

```
FacebookLoginBundle:
    resource: "@FacebookLoginBundle/Resources/config/routing.yml"
```

Then execute the Contao Install Tool (regardless of which edition you use).

Usage instructions
------------------

[](#usage-instructions)

### Facebook App

[](#facebook-app)

Before being able to use the Facebook login, you have to create a Facebook App for your website under [developers.facebook.com/apps](https://developers.facebook.com/apps). Make sure to fill out at least the following fields:

- *Settings* » *Basic* » *Add Platform* » *Website*: enter the basic URL of your site, e.g. `http://example.org`.
- *Settings* » *Basic* » *App Domains*: fill in the domain of your site, e.g. `example.org`.

Then you need to configure the *Facebook Login* on the left side under *PRODUCTS*. If said product is not there, you need to add it manually via *+ Add Product* first. Make sure to fill out *Valid OAuth URIs* with the the following URL of your site: `http://example.org/fblogincallback`. If you are using `https`, use that instead (or both). Set the rest of the settings as seen in the screenshot below:

[![Facebook Login settings](https://github.com/inspiredminds/contao-facebook-login/raw/master/facebook-login-settings.png)](https://github.com/inspiredminds/contao-facebook-login/raw/master/facebook-login-settings.png)

*Use Strict Mode for Redirect URIs* can be enabled (new Facebook apps will have this enabled by default). Then make your App public under *App Review*.

### Contao configuration

[](#contao-configuration)

After creating the Facebook App, you need to set the Facebook App ID and Facebook App Secret. You can define these either in the website root or in the system settings. Use the former if you are using a multidomain setup.

### Facebook Login module

[](#facebook-login-module)

Simply create a Facebook Login module in your theme and include it anywhere. It works and behaves the same way as the regular login module of Contao and also offers the same settings, plus the ability to define the member groups newly registered users will belong to and the ability to decide what personal data should be stored from Facebook.

You can also define additional [Facebook Login Permissions](https://developers.facebook.com/docs/facebook-login/permissions). These will be added to the default permissions. The module will also save a user access token in the session under the variable `facebook_login_access_token` for later use.

Attributions
------------

[](#attributions)

This bundle uses code provided and originally used by [Kamil Kuzminski](https://github.com/qzminski).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 87.9% 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 ~140 days

Recently: every ~210 days

Total

13

Last Release

1433d ago

Major Versions

1.x-dev → 2.0.02018-10-18

PHP version history (2 changes)2.0.0PHP ^7.1

2.3.1PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/25f6ec05570f72d0fcc4d0a4fef2309799d53badf8b30484284e73724661e0d8?d=identicon)[fritzmg](/maintainers/fritzmg)

---

Top Contributors

[![fritzmg](https://avatars.githubusercontent.com/u/4970961?v=4)](https://github.com/fritzmg "fritzmg (29 commits)")[![dmolineus](https://avatars.githubusercontent.com/u/1186266?v=4)](https://github.com/dmolineus "dmolineus (3 commits)")[![tsarma](https://avatars.githubusercontent.com/u/683894?v=4)](https://github.com/tsarma "tsarma (1 commits)")

---

Tags

contaocontao-bundlefacebookloginfacebooklogincontao

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/inspiredminds-contao-facebook-login/health.svg)

```
[![Health](https://phpackages.com/badges/inspiredminds-contao-facebook-login/health.svg)](https://phpackages.com/packages/inspiredminds-contao-facebook-login)
```

###  Alternatives

[socialconnect/auth

Social Connect Auth Component

568845.4k5](/packages/socialconnect-auth)[crada/phalcon-user-plugin

User plugin for Phalcon PHP framework

1832.5k1](/packages/crada-phalcon-user-plugin)[org_heigl/hybridauth

Lightweight Authentication Module for Zend-Framework 2 using the hybridauth-library

211.9k](/packages/org-heigl-hybridauth)

PHPackages © 2026

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