PHPackages                             eidsonator/ldap-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. eidsonator/ldap-bundle

ActiveLibrary

eidsonator/ldap-bundle
======================

LDAP Bundle for Symfony 2

v2.3.1(12y ago)015CeCILLPHPPHP &gt;=5.3.3

Since Jul 31Pushed 10y ago1 watchersCompare

[ Source](https://github.com/eidsonator/LdapBundle)[ Packagist](https://packagist.org/packages/eidsonator/ldap-bundle)[ Docs](http://github.com/BorisMorel/LdapBundle)[ RSS](/packages/eidsonator-ldap-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (12)Used By (0)

LdapBundle
==========

[](#ldapbundle)

LdapBundle provides LDAP authentication without using Apache's `mod_ldap`. The bundle instead relies on PHP's [LDAP extension](http://php.net/manual/en/book.ldap.php) along with a form to authenticate users. LdapBundle can also be used for authorization by retrieving the user's roles defined in LDAP.

Contact
-------

[](#contact)

Nick: aways IRC: irc.freenode.net - #symfony-fr

Install
-------

[](#install)

1. Download with composer
2. Enable the Bundle
3. Configure LdapBundle in security.yml
4. Import LdapBundle routing
5. Implement Logout
6. Use chain provider
7. Subscribe to PRE\_BIND event
8. Subscribe to POST\_BIND event

### Get the Bundle

[](#get-the-bundle)

### Composer

[](#composer)

Add LdapBundle in your project's `composer.json`

```
{
    "require": {
        "imag/ldap-bundle": "dev-master"
    }
}
```

### Enable the Bundle

[](#enable-the-bundle)

```
