PHPackages                             imag/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. [Framework](/categories/framework)
4. /
5. imag/ldap-bundle

ActiveLibrary[Framework](/categories/framework)

imag/ldap-bundle
================

LDAP Bundle for Symfony 2

v2.3.1(12y ago)108191.0k—0%92[15 issues](https://github.com/BorisMorel/LdapBundle/issues)[18 PRs](https://github.com/BorisMorel/LdapBundle/pulls)1CeCILLPHPPHP &gt;=5.3.3

Since Jul 31Pushed 7y ago16 watchersCompare

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

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

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)

```
