PHPackages                             lilweb/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. lilweb/ldap-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lilweb/ldap-bundle
==================

LDAP acces library

0.1.1(12y ago)13.9kMITPHPPHP &gt;=5.3.0

Since Aug 12Pushed 12y ago2 watchersCompare

[ Source](https://github.com/lilweb/LdapBundle)[ Packagist](https://packagist.org/packages/lilweb/ldap-bundle)[ Docs](https://github.com/lilweb/LdapBundle)[ RSS](/packages/lilweb-ldap-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

LdapBundle
==========

[](#ldapbundle)

This bundle helps connecting to an existing LDAP server.

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

[](#installation)

Add the dependency to your `composer.json` file :

```
"lilweb/ldap-bundle" : "0.1.0"
```

Add the bundle to `AppKernel.php` :

```
new Lilweb\LdapBundle\LilwebLdapBundle(),
```

Configuration
-------------

[](#configuration)

Add the following to your config.yml file :

```
lilweb_ldap:
    host: %ldap_client_host%
    port: %ldap_client_port%
    username: %ldap_client_username%
    password: %ldap_client_password%
    version: %ldap_client_version%
```

Usage
-----

[](#usage)

A new service called `lilweb.ldap_connection` is now available in your container.

Example :

```
$entries = $this
    ->ldapConnection
    ->search(
        array(
            'base_dn' => $this->params['base_dn'],
            'filter'  => sprintf('(&%s(%s=%s))', $filter, $this->params['name_attribute'], $this->ldapConnection->escape($username))
        )
    );
```

Technical information
---------------------

[](#technical-information)

- The connection is not made until a method on the connection is called.
- This bundle requires the PHP-ldap extension

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Every ~23 days

Total

2

Last Release

4686d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1027369?v=4)[Michiel Missotten](/maintainers/iammichiel)[@iammichiel](https://github.com/iammichiel)

---

Tags

Symfony2ldap

### Embed Badge

![Health badge](/badges/lilweb-ldap-bundle/health.svg)

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

###  Alternatives

[aws/aws-sdk-php-symfony

A Symfony bundle for v3 of the AWS SDK for PHP

36418.6M25](/packages/aws-aws-sdk-php-symfony)[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2553.0M24](/packages/stfalcon-tinymce-bundle)[symfony/ldap

Provides a LDAP client for PHP on top of PHP's ldap extension

1408.1M59](/packages/symfony-ldap)[ldaptools/ldaptools

LdapTools is a feature-rich LDAP library for PHP 5.6+.

205268.8k1](/packages/ldaptools-ldaptools)[mopa/composer-bridge

Symfony2 Composer Bridge

363.5M7](/packages/mopa-composer-bridge)[freedsx/ldap

A Pure PHP LDAP library

157150.3k2](/packages/freedsx-ldap)

PHPackages © 2026

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