PHPackages                             libre-informatique/user-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. libre-informatique/user-bundle

Abandoned → [libre-informatique/sonata-sylius-user-bundle](/?search=libre-informatique%2Fsonata-sylius-user-bundle)Symfony-bundle[Authentication &amp; Authorization](/categories/authentication)

libre-informatique/user-bundle
==============================

Manage user authentication

0.1(9y ago)0851GPL-3.0PHPPHP &gt;=5.3.0

Since Feb 9Pushed 8y ago2 watchersCompare

[ Source](https://github.com/libre-informatique/UserBundle)[ Packagist](https://packagist.org/packages/libre-informatique/user-bundle)[ Docs](https://github.com/libre-informatique/SymfonyLibrinfoUserBundle)[ RSS](/packages/libre-informatique-user-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

**This project has been abandoned and is no longer maintained.**you should use

SymfonyLibrinfoUserBundle
=========================

[](#symfonylibrinfouserbundle)

Manage user authentication

The goal of this bundle is to define a minimum configured environment for user authentication.

Default User and Group classes are defined and mapped with ORM driver.

This bundle relies heavily on FOSUserBundle.

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

[](#installation)

Prequiresites
-------------

[](#prequiresites)

- having a working Symfony2 environment
- having created a working Symfony2 app (including your DB and your DB link)
- having composer installed (here in /usr/local/bin/composer, with /usr/local/bin in the path)

Downloading
-----------

[](#downloading)

```
$ composer require libre-informatique/user-bundle dev-master

```

Sonata bundles
--------------

[](#sonata-bundles)

Please refer to the Sonata Project's instructions, foundable here :

The "libre-informatique" bundles
--------------------------------

[](#the-libre-informatique-bundles)

Edit your app/AppKernel.php file and add your "libre-informatique/user-bundle" :

```
    // app/AppKernel.php
    // ...
    public function registerBundles()
    {
        $bundles = array(
            // ...

            // The libre-informatique bundles
            new FOS\UserBundle\FOSUserBundle(),
            new Sonata\UserBundle\SonataUserBundle('FOSUserBundle'),
            new Librinfo\UserBundle\LibrinfoUserBundle(),

            // your personal bundles
        );
    }
```

Usages
======

[](#usages)

Configuring your FOS\_User properties
-------------------------------------

[](#configuring-your-fos_user-properties)

```
# app/config/config.yml (or any other file that is loaded by your bundle)
fos_user:
    # ...
    db_driver: orm # other valid values are 'mongodb', 'couchdb' and 'propel'
    firewall_name: N/A
    # ...
    user_class: Blast\BaseEntitiesBundle\Entity\GenericEntity
    group:
        group_class: Blast\BaseEntitiesBundle\Entity\GenericEntity
        group_manager: sonata.user.orm.group_manager
    service:
        user_manager: sonata.user.orm.user_manager

```

#### Note

[](#note)

Using `Blast\BaseEntitiesBundle\Entity\GenericEntity` as `User` and `Group` classes let this bundle defining it's own User and Group classes. If you define custom User and Group Classes, the bundle will not override your values.

Configuring the Json type from sonata-project/doctrine-extension
----------------------------------------------------------------

[](#configuring-the-json-type-from-sonata-projectdoctrine-extension)

```
# app/config/config.yml (or any other file that is loaded by your bundle)
doctrine:
    dbal:
        # ...
        types:
            json: Sonata\Doctrine\Types\JsonType
        # ...

```

Note: an abvious mistake can be the addition of this key outside the main `doctrine` key, where you have all your DB configuration.

###### Note:

[](#note-1)

`Blast\BaseEntitiesBundle\Entity\GenericEntity` and default classes values (`FOS\UserBundle\Entity\User` and `FOS\UserBundle\Entity\Group`) will be replaced with defaults `LibrinfoUserBundle` configuration values in `LibrinfoUserBundle/Resources/config/bundles/fos_user.yml`. Custom values in `app/config/config.yml` for the key `fos_user` will not be overriden by the `LibrinfoUserBundle`.

Updating your schema to add User and Group entities tables
----------------------------------------------------------

[](#updating-your-schema-to-add-user-and-group-entities-tables)

```
$ app/console doctrine:schema:validate
$ app/console doctrine:schema:update --dump-sql
$ app/console doctrine:schema:update --force

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor3

3 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

3432d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0bbce846c0d9bbaf3fc4f62538f638bb1f093d651e1bca9c0c6e0d97645286f8?d=identicon)[beta](/maintainers/beta)

![](https://avatars.githubusercontent.com/u/16222295?v=4)[Marcos Bezerra de Menezes](/maintainers/marcoslibre)[@marcoslibre](https://github.com/marcoslibre)

![](https://www.gravatar.com/avatar/928e77bd50201c2a30df571e6ff90c01a8cdfe29eec21f57fb7c143ba7c1a35e?d=identicon)[RomainSanchez](/maintainers/RomainSanchez)

---

Top Contributors

[![PapsOu](https://avatars.githubusercontent.com/u/5792207?v=4)](https://github.com/PapsOu "PapsOu (13 commits)")[![betaglop](https://avatars.githubusercontent.com/u/5788263?v=4)](https://github.com/betaglop "betaglop (9 commits)")[![RomainSanchez](https://avatars.githubusercontent.com/u/18164227?v=4)](https://github.com/RomainSanchez "RomainSanchez (9 commits)")[![sentinellesduweb](https://avatars.githubusercontent.com/u/53866807?v=4)](https://github.com/sentinellesduweb "sentinellesduweb (8 commits)")[![NicolasSdw](https://avatars.githubusercontent.com/u/15262688?v=4)](https://github.com/NicolasSdw "NicolasSdw (5 commits)")[![FanchTheSystem](https://avatars.githubusercontent.com/u/882203?v=4)](https://github.com/FanchTheSystem "FanchTheSystem (1 commits)")

---

Tags

symfonysonatae-venementlibio

### Embed Badge

![Health badge](/badges/libre-informatique-user-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/libre-informatique-user-bundle/health.svg)](https://phpackages.com/packages/libre-informatique-user-bundle)
```

###  Alternatives

[web-token/jwt-library

JWT library

2015.5M132](/packages/web-token-jwt-library)[scheb/2fa-backup-code

Extends scheb/2fa-bundle with backup codes support

184.1M40](/packages/scheb-2fa-backup-code)[nucleos/profile-bundle

Registration and profile management for symfony

12237.1k1](/packages/nucleos-profile-bundle)[adactive-sas/saml2-bridge-bundle

Symfony bundle that provide a SAML Identity Provider (idp).

113.5k](/packages/adactive-sas-saml2-bridge-bundle)

PHPackages © 2026

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