PHPackages                             kleegroup/franceconnect-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. kleegroup/franceconnect-bundle

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

kleegroup/franceconnect-bundle
==============================

Symfony 4, 5 &amp; 6 OpenID security extension FranceConnect

0.8(1y ago)136.2k9MITPHPPHP ^8.1.9

Since Aug 18Pushed 1y ago12 watchersCompare

[ Source](https://github.com/KleeGroup/FranceConnect-Symfony)[ Packagist](https://packagist.org/packages/kleegroup/franceconnect-bundle)[ Docs](https://github.com/KleeGroup/FranceConnect-Symfony)[ RSS](/packages/kleegroup-franceconnect-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (10)Versions (10)Used By (0)

FranceConnect-Symfony
=====================

[](#franceconnect-symfony)

[![Latest Stable Version](https://camo.githubusercontent.com/473571ac1b0fae1b5b40f23598305f6582eb6dc2382b9d6a516e761bfd5efbd7/68747470733a2f2f706f7365722e707567782e6f72672f6b6c656567726f75702f6672616e6365636f6e6e6563742d62756e646c652f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/kleegroup/franceconnect-bundle) [![Total Downloads](https://camo.githubusercontent.com/4ad337fa8428aa85cb5827fec585929fac5ad098849218e359864720ebde6b58/68747470733a2f2f706f7365722e707567782e6f72672f6b6c656567726f75702f6672616e6365636f6e6e6563742d62756e646c652f646f776e6c6f6164733f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/kleegroup/franceconnect-bundle) [![License](https://camo.githubusercontent.com/9ad89bb003c2bea01121196e1a58849fd10862ae6bbb903479c096c6eb87a4c8/68747470733a2f2f706f7365722e707567782e6f72672f6b6c656567726f75702f6672616e6365636f6e6e6563742d62756e646c652f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/kleegroup/franceconnect-bundle)

Synopsis
========

[](#synopsis)

Symfony bundle for FranceConnect authentication.

Dependencies
============

[](#dependencies)

- [namshi/jose](https://github.com/namshi/jose): Utilisé pour la vérification du JWT
- [Mashape/unirest-php](https://github.com/Mashape/unirest-php) utilisé pour les appels REST

Installation
============

[](#installation)

All the installation instructions are located in [documentation](Resources/doc/). The installation is in two steps:

- [Add FranceConnectBundle to composer.json](Resources/doc/installation.md)
- [Configure FranceConnectBundle](Resources/doc/configuration.md)

Usage
=====

[](#usage)

1. Add a link to the route " france\_connect\_login " in your template twig

    ```

    ```
2. Add a controller that will handle the response

    ```
       /**
        * @param Request $request
        * @Route("/france-connect-traitement", name="app.fc.return")
        * @Security("is_granted('IS_AUTHENTICATED_FRANCE_CONNECT')")
        */
       public function franceConnectAction(Request $request)
       {
           $token = $this->get('security.token_storage')->getToken();
           $token->getIdentity(); // json array provided by FranceConnect
           [...]
       }
    ```
3. Add FranceConnect script in your template

    ```
        {% block javascripts %}

        {% endblock %}
    ```
4. Add FranceConnect block in your template

    ```

                {{- identity.givenName ~ ' ' ~ identity.familyName|upper -}}

    ```

License
-------

[](#license)

This bundle is under the MIT license.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance41

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 65.2% 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 ~383 days

Recently: every ~737 days

Total

9

Last Release

487d ago

PHP version history (3 changes)0.1PHP &gt;=5.6.0

0.7PHP ^7.1.3

0.8-rc.0PHP ^8.1.9

### Community

Maintainers

![](https://www.gravatar.com/avatar/2eaea331cd8b7c65f5088934f1c60de3bb1464f2de4a4efecd81436fa4b76ee2?d=identicon)[t-veron](/maintainers/t-veron)

![](https://www.gravatar.com/avatar/66e27220041988a63364e6012c4f7073c4ed950c0c3107b60f584a18dcbe4613?d=identicon)[FlorianKlee](/maintainers/FlorianKlee)

---

Top Contributors

[![t-veron](https://avatars.githubusercontent.com/u/19189678?v=4)](https://github.com/t-veron "t-veron (15 commits)")[![FlorianKlee](https://avatars.githubusercontent.com/u/20719626?v=4)](https://github.com/FlorianKlee "FlorianKlee (6 commits)")[![daifma](https://avatars.githubusercontent.com/u/4672529?v=4)](https://github.com/daifma "daifma (1 commits)")[![thomas-ddf](https://avatars.githubusercontent.com/u/44095002?v=4)](https://github.com/thomas-ddf "thomas-ddf (1 commits)")

---

Tags

securityAuthenticationOpenId

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kleegroup-franceconnect-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kleegroup-franceconnect-bundle/health.svg)](https://phpackages.com/packages/kleegroup-franceconnect-bundle)
```

###  Alternatives

[scheb/2fa

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

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

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[simplesamlphp/simplesamlphp

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

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[scheb/2fa-bundle

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

6914.0M62](/packages/scheb-2fa-bundle)[sulu/sulu

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

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

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

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