PHPackages                             l3/ldap-user-udl-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. l3/ldap-user-udl-bundle

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

l3/ldap-user-udl-bundle
=======================

User Provider from LDAP UDL/ULille (branch ou=accounts)

1.0.14(2y ago)0785↓88.9%LGPL-3.0-or-laterPHPPHP &gt;=8.2

Since Jun 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/l3-team/LdapUserUdlBundle)[ Packagist](https://packagist.org/packages/l3/ldap-user-udl-bundle)[ Docs](https://github.com/l3-team/LdapUserUdlBundle)[ RSS](/packages/l3-ldap-user-udl-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (5)Versions (15)Used By (0)

Symfony 2/3/4/5/6/7 User provider from LDAP

Allow use LDAP like user provider and security in application written in Symfony2/3/4/5

Installation of the Bundle.
---------------------------

[](#installation-of-the-bundle)

Install the Bundle with this command :

```
composer require l3/ldap-user-udl-bundle:~1.0

```

Launch the command **composer update** to install the package

For Symfony 2 and 3 : add the Bundle in AppKernel.php

```

```

- Dn : Use this annotation to build the dn with twig syntax
- Entity : Use this annotation to attribute to a php entity class an ldapObjectClass
- Column : Use this annotation to type the variable php
- Index : Use this annotation to set the index of the Entity

and in your Controller, you can read the LDAP with call your Entity like this :

```
# src/YourApplicationBundle/Controller/DefaultController.php
