PHPackages                             novactive/ezldapauthenticatorbundle - 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. novactive/ezldapauthenticatorbundle

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

novactive/ezldapauthenticatorbundle
===================================

Novactive eZ LDAP Authenticator Bundle, A bundle to authenticate users against LDAP server

v1.0.1(6y ago)07.3k3MITPHPPHP ^7.1

Since Jun 4Pushed 3mo ago14 watchersCompare

[ Source](https://github.com/Novactive/NovaeZLdapAuthenticatorBundle)[ Packagist](https://packagist.org/packages/novactive/ezldapauthenticatorbundle)[ RSS](/packages/novactive-ezldapauthenticatorbundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (8)Versions (7)Used By (0)

Novactive eZ LDAP Authenticator Bundle
======================================

[](#novactive-ez-ldap-authenticator-bundle)

---

This repository is what we call a "subtree split": a read-only copy of one directory of the main repository. It is used by Composer to allow developers to depend on specific bundles.

If you want to report or contribute, you should instead open your issue on the main repository:

Documentation is available in this repository via `.md` files but also packaged here:

---

[![Downloads](https://camo.githubusercontent.com/3d2b388e616cc27a4c0c09ae5ca723632b248fe30e83b507dd87298bca5a5319/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f766163746976652f657a6c64617061757468656e74696361746f7262756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/novactive/ezldapauthenticatorbundle)[![Latest version](https://camo.githubusercontent.com/f4136717cc2d2fce4a6d1f0fc35d690c775a295d27e12fa7ee9b1463b8e4e714/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f4e6f766163746976652f4e6f7661655a4c64617041757468656e74696361746f7242756e646c652e7376673f7374796c653d666c61742d737175617265)](https://github.com/Novactive/NovaeZLdapAuthenticatorBundle/releases)[![License](https://camo.githubusercontent.com/840abc54b1a8b0642d1108ea3a391098f4a4424791fed6028c5cbed49524dc1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e6f766163746976652f657a6c64617061757468656e74696361746f7262756e646c652e7376673f7374796c653d666c61742d737175617265)](LICENSE)

A bundle to authenticate users against LDAP server

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

[](#installation)

Add the lib to your composer.json, run `composer require novactive/ezldapauthenticatorbundle` to refresh dependencies.

Then inject the bundle in the `bundles.php` of your application.

```
    Novactive\Bundle\eZLDAPAuthenticatorBundle\EzLdapAuthenticatorBundle::class => [ 'all'=> true ],
```

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

[](#configuration)

### Bundle configuration

[](#bundle-configuration)

To configure this bundle you should add new section `nova_ez_ldap` into your `config.yml` file. Basic config might be like this one:

```
nova_ez_ldap:
  connections:
    default:
      ldap:
        adapter:
          connection_string: '%ldap_connection_string%'
        user_provider:
          base_dn: '%ldap_base_dn%'
          search_dn: '%ldap_read_only_user%'
          search_password: '%ldap_read_only_password%'
          uid_key:              uid
      ezuser:
        admin_user_id:  '%admin_user_id%'
        user_group_id:  '%target_usergroup%'
        email_attr: mail
        attributes:
          first_name: givenName
          last_name: sn
```

Instead of `connection_string` you are able to set `host`, `port`, `encryption` and `version` separately. Also you can set `options` array that will be passed directly to the Symfony Ldap component.

#### LDAP attributes mapping

[](#ldap-attributes-mapping)

To be able to store user who came from LDAP you have to configure mapping between LDAP attributes and eZPublish user fields. You must map all required fields in the `ezuser` part. By default eZPublish needs user credentials and email but you may have any additional fields in you `User` content class so you should fill all of them.

#### Target group

[](#target-group)

All users will be stored in the group `user_group_id`. You must put group content id here.

#### Full default config

[](#full-default-config)

Here is full default bundle configuration:

```
nova_ez_ldap:
  connections:
    default:
      ldap:
        adapter:
          connection_string: ~
          host: localhost
          port: 389
          version: 3
          encryption: none # One of "none"; "ssl"; "tls"
          options: []

        user_provider:
          base_dn: ~ # Required
          search_dn: ~ # Required
          search_password: ~ # Required
          uid_key: uid
          filter: '({uid_key}={username})'

      ezuser:
        admin_user_id:  ~ # Required
        user_group_id:  ~ # Required
        email_attr:  ~ # Required
        attributes:
          user_attr: ldap_attr
```

### Security configuration

[](#security-configuration)

Besides common bundle configuration you will have to add some parameters in `security` section:

```
security:
    providers:
        chain_provider:
            chain:
                providers: [nova_ldap, ezpublish]
        ezpublish:
            id: ezpublish.security.user_provider
        nova_ldap:
            id: nova_ez.ldap.user_provider
    firewalls:
        ezpublish_front:
            form_login_ldap:
                service: nova_ez.ldap
                provider: chain_provider
```

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance55

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% 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 ~128 days

Total

2

Last Release

2408d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7bf781acfc713c38985bfb2e7bee5fd2decefdeed1df550643af57aa8e315db7?d=identicon)[Almaviacx](/maintainers/Almaviacx)

---

Top Contributors

[![Plopix](https://avatars.githubusercontent.com/u/313532?v=4)](https://github.com/Plopix "Plopix (11 commits)")[![maximstrukov](https://avatars.githubusercontent.com/u/15006962?v=4)](https://github.com/maximstrukov "maximstrukov (1 commits)")

---

Tags

userldapauthenticatornovactiveezplatform

###  Code Quality

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/novactive-ezldapauthenticatorbundle/health.svg)

```
[![Health](https://phpackages.com/badges/novactive-ezldapauthenticatorbundle/health.svg)](https://phpackages.com/packages/novactive-ezldapauthenticatorbundle)
```

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[foglcz/ldap-authenticator

LDAP Authenticator plugin for Nette Framework

137.2k](/packages/foglcz-ldap-authenticator)[org_heigl/hybridauth

Lightweight Authentication Module for Zend-Framework 2 using the hybridauth-library

211.9k](/packages/org-heigl-hybridauth)

PHPackages © 2026

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