PHPackages                             simplesamlphp/simplesamlphp-module-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. simplesamlphp/simplesamlphp-module-ldap

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

simplesamlphp/simplesamlphp-module-ldap
=======================================

A module that provides authentication against LDAP stores

v2.5.2(3mo ago)46.5M↓39.7%14[5 issues](https://github.com/simplesamlphp/simplesamlphp-module-ldap/issues)9LGPL-2.1-or-laterPHPPHP ^8.3CI passing

Since Mar 14Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/simplesamlphp/simplesamlphp-module-ldap)[ Packagist](https://packagist.org/packages/simplesamlphp/simplesamlphp-module-ldap)[ RSS](/packages/simplesamlphp-simplesamlphp-module-ldap/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (10)Versions (97)Used By (9)

LDAP Module
===========

[](#ldap-module)

[![Build Status](https://github.com/simplesamlphp/simplesamlphp-module-ldap/actions/workflows/php.yml/badge.svg)](https://github.com/simplesamlphp/simplesamlphp-module-ldap/actions/workflows/php.yml/badge.svg)[![Coverage Status](https://camo.githubusercontent.com/59d527a5adb372b6894c179f16961300f1a7186263dd5643fd3b9a53e243d366/68747470733a2f2f636f6465636f762e696f2f67682f73696d706c6573616d6c7068702f73696d706c6573616d6c7068702d6d6f64756c652d6c6461702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/simplesamlphp/simplesamlphp-module-ldap)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/cfba3502138920f0c48df9416bbc79fa9b29641d70e0fffa0c2a060615e72772/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73696d706c6573616d6c7068702f73696d706c6573616d6c7068702d6d6f64756c652d6c6461702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/simplesamlphp/simplesamlphp-module-ldap/?branch=master)[![Type Coverage](https://camo.githubusercontent.com/ba984983e6ebae63230d8171a8c537551b915dc89e71b895485d2d8ee1eebe9d/68747470733a2f2f73686570686572642e6465762f6769746875622f73696d706c6573616d6c7068702f73696d706c6573616d6c7068702d6d6f64756c652d6c6461702f636f7665726167652e737667)](https://shepherd.dev/github/simplesamlphp/simplesamlphp-module-ldap)[![Psalm Level](https://camo.githubusercontent.com/97009df7cd1a8c532cf11ff995381eb47b844ae39fa9795565522470e6905fef/68747470733a2f2f73686570686572642e6465762f6769746875622f73696d706c6573616d6c7068702f73696d706c6573616d6c7068702d6d6f64756c652d6c6461702f6c6576656c2e737667)](https://shepherd.dev/github/simplesamlphp/simplesamlphp-module-ldap)

This module provides authproc-filters and authentication sources for interaction with LDAP directories.

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

[](#installation)

Once you have installed SimpleSAMLphp, installing this module is very simple. Just execute the following command in the root of your SimpleSAMLphp installation:

```
composer.phar require simplesamlphp/simplesamlphp-module-ldap:dev-master
```

where `dev-master` instructs Composer to install the `master` branch from the Git repository. See the [releases](https://github.com/simplesamlphp/simplesamlphp-module-ldap/releases)available if you want to use a stable version of the module.

Next thing you need to do is to enable the module: in `config.php`, search for the `module.enable` key and set `ldap` to true:

```
    'module.enable' => [
         'ldap' => true,
         …
    ],
```

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance64

Regular maintenance activity

Popularity50

Moderate usage in the ecosystem

Community34

Small or concentrated contributor base

Maturity91

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 85.1% 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 ~30 days

Recently: every ~54 days

Total

84

Last Release

101d ago

Major Versions

v1.2.14 → v2.0.32022-09-21

v1.2.17 → v2.1.02022-09-26

v1.2.18 → v2.1.32023-02-25

v1.2.19 → v2.3.12023-12-13

v1.2.20 → v2.4.72025-05-28

PHP version history (9 changes)v1.0.0PHP &gt;=5.5

v1.1.0PHP &gt;=5.6

v1.2.0PHP &gt;=7.2

v1.2.6PHP &gt;=7.4

v2.0.0-rc1PHP &gt;=7.4 || ^8.0

v2.2.0PHP ^8.0

v2.4.0PHP ^8.1

v2.5.0PHP ^8.2

v2.5.1PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/579a16ea8afccc6ab420c393f0e573296fe46dcd293aa4f3b71eefc158ebf3e4?d=identicon)[jaime](/maintainers/jaime)

![](https://www.gravatar.com/avatar/9221e348303eeda74e85236a8bff9b919a90d10e3a478fe1cbb9d833f68d0150?d=identicon)[thijskh](/maintainers/thijskh)

![](https://www.gravatar.com/avatar/d424231c85138609ae230ccd5002c8025fd5dce7f51b2f1778f69ba3a49a4efa?d=identicon)[tvdijen](/maintainers/tvdijen)

---

Top Contributors

[![tvdijen](https://avatars.githubusercontent.com/u/841045?v=4)](https://github.com/tvdijen "tvdijen (194 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (20 commits)")[![grawity](https://avatars.githubusercontent.com/u/31021?v=4)](https://github.com/grawity "grawity (3 commits)")[![jornane](https://avatars.githubusercontent.com/u/767872?v=4)](https://github.com/jornane "jornane (2 commits)")[![dsieborger](https://avatars.githubusercontent.com/u/11875546?v=4)](https://github.com/dsieborger "dsieborger (1 commits)")[![jaimeperez](https://avatars.githubusercontent.com/u/1942728?v=4)](https://github.com/jaimeperez "jaimeperez (1 commits)")[![Adolf0100](https://avatars.githubusercontent.com/u/38880980?v=4)](https://github.com/Adolf0100 "Adolf0100 (1 commits)")[![ks3](https://avatars.githubusercontent.com/u/6502445?v=4)](https://github.com/ks3 "ks3 (1 commits)")[![manu0401](https://avatars.githubusercontent.com/u/7125645?v=4)](https://github.com/manu0401 "manu0401 (1 commits)")[![maxxer](https://avatars.githubusercontent.com/u/240201?v=4)](https://github.com/maxxer "maxxer (1 commits)")[![RickyGenz](https://avatars.githubusercontent.com/u/9879993?v=4)](https://github.com/RickyGenz "RickyGenz (1 commits)")[![thijskh](https://avatars.githubusercontent.com/u/3808792?v=4)](https://github.com/thijskh "thijskh (1 commits)")[![dlundgren](https://avatars.githubusercontent.com/u/1322393?v=4)](https://github.com/dlundgren "dlundgren (1 commits)")

---

Tags

ldapsimplesamlphp

### Embed Badge

![Health badge](/badges/simplesamlphp-simplesamlphp-module-ldap/health.svg)

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

###  Alternatives

[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.8M211](/packages/simplesamlphp-simplesamlphp)[simplesamlphp/simplesamlphp-module-webauthn

A PHP implementation of a FIDO2 / WebAuthn authentication agent

181.6k](/packages/simplesamlphp-simplesamlphp-module-webauthn)

PHPackages © 2026

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