PHPackages                             tounaf/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. [HTTP &amp; Networking](/categories/http)
4. /
5. tounaf/ldap-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

tounaf/ldap-bundle
==================

Ldap connection provider for symfony app

v1.2.6(2y ago)0112[1 issues](https://github.com/kamakely/ldap-bundle/issues)MITPHP

Since Nov 13Pushed 2y agoCompare

[ Source](https://github.com/kamakely/ldap-bundle)[ Packagist](https://packagist.org/packages/tounaf/ldap-bundle)[ RSS](/packages/tounaf-ldap-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (8)Versions (8)Used By (0)

### PURPOSE OF THIS BUNDLE

[](#purpose-of-this-bundle)

The goal of this bundle is to integrate the login provided by symfony with minimum possible effort. It set all step provided by doc of symfony ldap in your place. You just need to set parameters of your ldap server.

### INSTALLATION

[](#installation)

```
composer require tounaf/ldap-bundle
```

### EXAMPLE CONFIGURATION

[](#example-configuration)

```
tounaf_ldap:
    connection:
      host: "ldap.example.com"
      port: 389
      encryption: none # possible value tls/ssl/none, default is none
      options:
          protocol_version: 3
          referrals: false
    providers:
        pulse_ldap_provider:
            ldap:
                base_dn: "OU=Admin,DC=in,DC=com"
                search_dn: "CN=user-service,OU=Service accounts,OU=Admin,DC=in,DC=com"
                search_password: "password"
                extra_fields: ['mail']
    form_login_ldap:
        dn_string: 'DOMAIN\{username}' # or {username}
        login_path: app_login
        check_path: app_login
        default_target_path: app_kama
```

### FULL CONFIGURATOIN REFERENCE

[](#full-configuratoin-reference)

```
tounaf_ldap:
    connection:
        # Ldap host
        host:                 ~ # Required
        # The port used by ldap
        port:                 '389' # Required
        # the encryption method: none/tls/ssl
        encryption:           none
        options:
            # Verstion of protocole
            protocol_version:     '3'
            # Verstion of protocole
            referrals:            false
    providers:
        # Prototype
        name:
            ldap:
                service:              Symfony\Component\Ldap\Ldap
                base_dn:              ~ # Required, Example: 'OU=Utilisateurs,DC=makeitpulse,DC=in,DC=axian-group,DC=com'
                search_dn:            ~ # Required, Example: 'CN=ogc-ass,OU=Service accounts,OU=Administrations,DC=ass,DC=in,DC=axian-group,DC=com'
                search_password:      null # Required, Example: your_favorit_password
                default_roles:        ROLE_USER # Required, Example: ROLE_USER
                uid_key:              sAMAccountName # Example: sAMAccountName
                extra_fields:         []
    form_login_ldap:
        # ds_string can be: DOMAIN\{username} or like just {username}
        dn_string:            '{username}' # Required, Example:
        # route to login user
        login_path:           app_login
        # route to process login
        check_path:           app_login
        # route to redirect user when login success
        default_target_path:  ~
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.4% 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.

###  Release Activity

Cadence

Every ~3 days

Total

6

Last Release

948d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5365740?v=4)[fetra](/maintainers/fetra)[@fetra](https://github.com/fetra)

---

Top Contributors

[![fetra-nambinina](https://avatars.githubusercontent.com/u/221032697?v=4)](https://github.com/fetra-nambinina "fetra-nambinina (11 commits)")[![tounaf](https://avatars.githubusercontent.com/u/37898632?v=4)](https://github.com/tounaf "tounaf (10 commits)")

### Embed Badge

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

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)

PHPackages © 2026

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