PHPackages                             heimrichhannot/contao-ldap - 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. heimrichhannot/contao-ldap

ActiveContao-module[Authentication &amp; Authorization](/categories/authentication)

heimrichhannot/contao-ldap
==========================

A simple module extending the standard login module with ldap functionality.

2.0.4(8y ago)3624[2 issues](https://github.com/heimrichhannot/contao-ldap/issues)LGPL-3.0+PHP

Since Jun 7Pushed 4y ago4 watchersCompare

[ Source](https://github.com/heimrichhannot/contao-ldap)[ Packagist](https://packagist.org/packages/heimrichhannot/contao-ldap)[ Docs](https://github.com/heimrichhannot/contao-ldap)[ RSS](/packages/heimrichhannot-contao-ldap/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

> This module is abandoned. Please use  instead.

LDAP
====

[](#ldap)

Adds LDAP support for frontend and backend.

[![alt Archive](docs/screenshot.png)](docs/screenshot.png)

*Configuration*

Technical instructions
----------------------

[](#technical-instructions)

- The module defines a "Person" as a contao "Member" or a "User". Both Member and User inherit from Person. This way all relevant functionality is defined in Person superclasses.
- When configuring and saving an LDAP access in tl\_settings, all found members (or users) are imported as configured. One could redo this again in order to update all existing local ldap members (or users).
- Local existing members (or users) remotely non existing are disabled, not deleted.
- If LDAP groups have been selected in tl\_settings, they're imported and assigned to the appropriate members (or users).
- So local copies of remotely existing members (or users) and groups are created.
- If a member (or user) tries to login with invalid credentials (i.e. credentials are really invalid or a local ldap member (or user) has not been created, yet) a local ldap copy is created on the fly.
- In the frontend "ModuleLdapLogin" has to be used for LDAP support
- The checkCredentials Hook is run everytime a LDAP member (or user) tries to login since after a successful login the password is set to some random value. This is necessary in order to keep local and remote member (or user) up to date.

### Modules

[](#modules)

NameDescriptionModuleLdapLoginAn ldap-extended login module### Hooks

[](#hooks)

NameArgumentsDescriptionldapAddPerson$objPerson (instanceof MemberModel or UserModel), $arrSelectedGroupsTriggered after a new person has been addedldapUpdatePerson$objPerson (instanceof MemberModel or UserModel), $arrSelectedGroupsTriggered after a person has been updated### Registered Contao Hooks

[](#registered-contao-hooks)

NameDescriptionimportUserCalled after login credentials have been detected wrong since no local LDAP member (or user) is existing, yetcheckCredentialsCalled everytime a LDAP member (or user) is detected -&gt; used for updating local LDAP members (or users) on the fly.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~126 days

Recently: every ~94 days

Total

6

Last Release

3038d ago

Major Versions

1.0.0 → 2.0.02017-02-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/28ad3224d8727b622ebd229840eea6b9dbcb83eb0bd609e6ce65b614830ff538?d=identicon)[digitales@heimrich-hannot.de](/maintainers/digitales@heimrich-hannot.de)

---

Top Contributors

[![Defcon0](https://avatars.githubusercontent.com/u/1485098?v=4)](https://github.com/Defcon0 "Defcon0 (1 commits)")

---

Tags

authmodulecontaoldapdeveloper

### Embed Badge

![Health badge](/badges/heimrichhannot-contao-ldap/health.svg)

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

###  Alternatives

[jotaelesalinas/laravel-adminless-ldap-auth

Authenticate users in Laravel against an adminless LDAP server

2075.2k](/packages/jotaelesalinas-laravel-adminless-ldap-auth)[foglcz/ldap-authenticator

LDAP Authenticator plugin for Nette Framework

137.3k](/packages/foglcz-ldap-authenticator)

PHPackages © 2026

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