PHPackages                             ove/authentification-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. ove/authentification-bundle

ActiveLibrary

ove/authentification-bundle
===========================

OVE - Bundle Symfony d'authentification et de gestion des rôles via LDAP ou MySQL

048HTML

Since May 28Pushed 10y ago1 watchersCompare

[ Source](https://github.com/tonygalmiche/AuthentificationBundle)[ Packagist](https://packagist.org/packages/ove/authentification-bundle)[ RSS](/packages/ove-authentification-bundle/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

OVE - Bundle Symfony d'authentification et de gestion des rôles via LDAP ou MySQL
=================================================================================

[](#ove---bundle-symfony-dauthentification-et-de-gestion-des-rôles-via-ldap-ou-mysql)

Fonctionnalités
---------------

[](#fonctionnalités)

- Fenêtre d'authentification
- Gestion des associations pour autoriser plusieurs méthodes d'authentifcation en fonction de l'association (ex : MySQL, LDAP,..)
- Gestion des utilisateurs, des rôles et de l'affactation des rôles aux utilisateurs
- Thème graphique basé sur Bootstrap

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

[](#installation)

### Installation de composer

[](#installation-de-composer)

Composer permet de gérer les dépendances et l'installation de modules PHP

Installation :

```
cd /home/votre_login/bin
curl -s http://getcomposer.org/installer | php

```

Mise à jour du PATH :

```
vim /home/tony/.profile
if [ -d "$HOME/bin" ] ; then
  PATH="$HOME/bin:$PATH"
fi

```

Utilisation :

```
composer.phar

```

### Installation de Synfony

[](#installation-de-synfony)

Installation de la dernière version 2.3 de Synfony (Synfony 2.4 necessite PHP 5.4) :

```
cd /var/www/votre_projet
composer.phar create-project symfony/framework-standard-edition symfony 2.3.*

```

Ajouter votre adresse IP dans `app_dev.php` pour pouvoir accèder à Synfony :

```
vim web/app_dev.php
|| !in_array(@$_SERVER['REMOTE_ADDR'],
    array(
            '127.0.0.1', 'fe80::1', '::1',
            '192.168.1.1'
    ))

```

### Installation de ce bundle

[](#installation-de-ce-bundle)

Ajouter cette ligne dans la section `require` de `composer.json` :

```
cd symfony
vim composer.json
    "require": {
        ...
        "ove/authentification-bundle": "dev-master"

```

Ajouter cette ligne dans la section `extra` de `composer.json` :

```
vim composer.json
"extra": {
    ...
    "symfony-assets-install": "symlink",

```

Installer le Bundle avec composer :

```
composer.phar update

```

Activer le Bundle en ajoutant cette ligne dans l'array des bundle :

```
   vim app/AppKernel.php
   $bundles = array(
      ...
      new OVE\AuthentificationBundle\OVEAuthentificationBundle(),

```

Mise en place des fichiers de configuration :

```
cp vendor/ove/authentification-bundle/OVE/AuthentificationBundle/Resources/Docs/routing.yml app/config/
cp vendor/ove/authentification-bundle/OVE/AuthentificationBundle/Resources/Docs/security.yml app/config/
cp vendor/ove/authentification-bundle/OVE/AuthentificationBundle/Resources/Docs/ove_authentification.yml app/config/

```

Importation des paramètres :

```
vim app/config/config.yml
imports:
...
- { resource: ove_authentification.yml }

```

Attention : Pensez à modifier les clés d'authentification et à renseigner les paramètres pour Gestetab

Mettre en place les assets :

```
php app/console assets:install web --symlink

```

Initialiser les tables de la base de données :

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

```

Vider le cache

```
app/console cache:clear

```

Vérfier que le routage fonctionne :

```
php app/console router:debug

```

Connexion
---------

[](#connexion)

Par défaut, la connexion se fait avec le login admin / adminpass

Il faut donc commencer par changer le mot de passe dans ce fichier :

```
app/config/security.yml

```

Ensuite, une fois connecté, il faut créer une association pour pouvoir se connecter via une table MySQL ou via un annuaire LDAP

Gestion des droits
------------------

[](#gestion-des-droits)

Une fois connecté, il faut créer les rôles :

- ROLE\_ADMIN
- ROLE\_PARAM

Créer les utilisateurs ayant des rôles autres que `ROLE_USER` et affecter les rôles aux utilisateurs

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f205551d91f05aa55597e2a54db6300d441b706f9092a769f7b1674036d22c54?d=identicon)[tony.galmiche](/maintainers/tony.galmiche)

---

Top Contributors

[![tonygalmiche](https://avatars.githubusercontent.com/u/150344?v=4)](https://github.com/tonygalmiche "tonygalmiche (33 commits)")

### Embed Badge

![Health badge](/badges/ove-authentification-bundle/health.svg)

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

PHPackages © 2026

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