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

ActiveSilverstripe-vendormodule[Authentication &amp; Authorization](/categories/authentication)

silverstripe/ldap
=================

Adds LDAP support to SilverStripe including user synchronisation and authentication

2.3.1(1y ago)3112.4k↓50%14[2 issues](https://github.com/silverstripe/silverstripe-ldap/issues)[2 PRs](https://github.com/silverstripe/silverstripe-ldap/pulls)1BSD-3-ClausePHPPHP ^8.1CI passing

Since Nov 13Pushed 1y ago8 watchersCompare

[ Source](https://github.com/silverstripe/silverstripe-ldap)[ Packagist](https://packagist.org/packages/silverstripe/ldap)[ RSS](/packages/silverstripe-ldap/feed)WikiDiscussions 2 Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (60)Used By (1)

Silverstripe LDAP module
========================

[](#silverstripe-ldap-module)

[![CI](https://github.com/silverstripe/silverstripe-ldap/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-ldap/actions/workflows/ci.yml)[![Silverstripe supported module](https://camo.githubusercontent.com/9b7e93d393a01f6d3091fb30983b870aa863ef076858115faaa1c74b995854ec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73696c7665727374726970652d737570706f727465642d3030373143342e737667)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)

Introduction
------------

[](#introduction)

This Silverstripe module provides integration with LDAP (Lightweight Directory Access Protocol) servers. It comes with two major components:

- Synchronisation of Active Directory users and group memberships via LDAP(S)
- Active Directory authentication via LDAP binding

These components may be used in any combination, also alongside the default Silverstripe authentication scheme.

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

[](#installation)

```
composer require silverstripe/ldap
```

Overview
--------

[](#overview)

This module will provide an LDAP authenticator for SilverStripe, which will authenticate via LDAPS against members in your AD server. The module comes with tasks to synchronise data between Silverstripe and AD, which can be run on a cron.

To synchronise further personal details, LDAP synchronisation feature can be used, also included in this module. This allows arbitrary fields to be synchronised - including binary fields such as photos. If relevant mappings have been configured in the CMS the module will also automatically maintain Silverstripe group memberships, which opens the way for an AD-centric authorisation.

**Note:** If you are looking for SSO with SAML, please see the [silverstripe-saml module](https://github.com/silverstripe/silverstripe-saml).

Security
--------

[](#security)

With appropriate configuration, this module provides a secure means of authentication and authorisation.

AD user synchronisation and authentication is hidden behind the backend (server to server communication), but must still use encrypted LDAP communication to prevent eavesdropping (either StartTLS or SSL - this is configurable). If the webserver and the AD server are hosted in different locations, a VPN could also be used to further encapsulate the traffic going over the public internet.

Note that the LDAP protocol does not communicate over HTTP. If this is what you're looking for, you may be interested in SAML instead.

In-depth guides
---------------

[](#in-depth-guides)

- [Developer guide](docs/en/developer.md) - configure your Silverstripe site
- [CMS usage guide](docs/en/usage.md) - manage LDAP group mappings
- [Troubleshooting](docs/en/troubleshooting.md) - common problems

Changelog
---------

[](#changelog)

Please see the [GitHub releases](https://github.com/silverstripe/silverstripe-ldap/releases) for changes.

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community32

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~48 days

Recently: every ~5 days

Total

58

Last Release

382d ago

Major Versions

1.6.0 → 2.0.0-rc12023-03-30

1.6.1 → 2.0.12023-06-16

1.6.2 → 2.0.22023-08-21

1.x-dev → 2.2.32024-07-22

2.x-dev → 3.x-dev2025-05-01

PHP version history (5 changes)1.0.0-beta1PHP &gt;=5.6

1.3.0PHP ^7.3 || ^8.0

1.4.0-rc1PHP ^7.4 || ^8.0

2.0.0-beta1PHP ^8.1

3.x-devPHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/654636?v=4)[Aaron Carlino](/maintainers/unclecheese)[@unclecheese](https://github.com/unclecheese)

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

![](https://avatars.githubusercontent.com/u/111025?v=4)[Ingo Schommer](/maintainers/chillu)[@chillu](https://github.com/chillu)

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

![](https://www.gravatar.com/avatar/afbb3dcc9ef29c1a6eedd6addcae5fce9ab1271915a85a4c349301b71237368d?d=identicon)[silverstripe-machine01](/maintainers/silverstripe-machine01)

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

![](https://avatars.githubusercontent.com/u/1168676?v=4)[Maxime Rainville](/maintainers/maxime-rainville)[@maxime-rainville](https://github.com/maxime-rainville)

---

Top Contributors

[![GuySartorelli](https://avatars.githubusercontent.com/u/36352093?v=4)](https://github.com/GuySartorelli "GuySartorelli (44 commits)")[![mateusz](https://avatars.githubusercontent.com/u/118653?v=4)](https://github.com/mateusz "mateusz (43 commits)")[![emteknetnz](https://avatars.githubusercontent.com/u/4809037?v=4)](https://github.com/emteknetnz "emteknetnz (42 commits)")[![robbieaverill](https://avatars.githubusercontent.com/u/5170590?v=4)](https://github.com/robbieaverill "robbieaverill (36 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (17 commits)")[![dhensby](https://avatars.githubusercontent.com/u/563596?v=4)](https://github.com/dhensby "dhensby (14 commits)")[![madmatt](https://avatars.githubusercontent.com/u/893117?v=4)](https://github.com/madmatt "madmatt (4 commits)")[![NightJar](https://avatars.githubusercontent.com/u/778003?v=4)](https://github.com/NightJar "NightJar (4 commits)")[![sabina-talipova](https://avatars.githubusercontent.com/u/87288324?v=4)](https://github.com/sabina-talipova "sabina-talipova (3 commits)")[![ScopeyNZ](https://avatars.githubusercontent.com/u/3260989?v=4)](https://github.com/ScopeyNZ "ScopeyNZ (3 commits)")[![jdavis-cus](https://avatars.githubusercontent.com/u/9284655?v=4)](https://github.com/jdavis-cus "jdavis-cus (2 commits)")[![fspringveldt](https://avatars.githubusercontent.com/u/10938392?v=4)](https://github.com/fspringveldt "fspringveldt (2 commits)")[![michalkouril](https://avatars.githubusercontent.com/u/11080602?v=4)](https://github.com/michalkouril "michalkouril (2 commits)")[![wilr](https://avatars.githubusercontent.com/u/101629?v=4)](https://github.com/wilr "wilr (1 commits)")[![dnsl48](https://avatars.githubusercontent.com/u/9313746?v=4)](https://github.com/dnsl48 "dnsl48 (1 commits)")[![Firesphere](https://avatars.githubusercontent.com/u/680570?v=4)](https://github.com/Firesphere "Firesphere (1 commits)")[![halkyon](https://avatars.githubusercontent.com/u/138450?v=4)](https://github.com/halkyon "halkyon (1 commits)")[![micmania1](https://avatars.githubusercontent.com/u/881537?v=4)](https://github.com/micmania1 "micmania1 (1 commits)")[![sachajudd](https://avatars.githubusercontent.com/u/24258161?v=4)](https://github.com/sachajudd "sachajudd (1 commits)")[![sosumi](https://avatars.githubusercontent.com/u/860456?v=4)](https://github.com/sosumi "sosumi (1 commits)")

---

Tags

hacktoberfestsilverstripedirectoryldapadactive

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[edvlerblog/yii2-adldap-module

yii2 Active Directory implementation (wrapper for Adldap2)

51227.3k](/packages/edvlerblog-yii2-adldap-module)[jotaelesalinas/laravel-adminless-ldap-auth

Authenticate users in Laravel against an adminless LDAP server

2105.1k](/packages/jotaelesalinas-laravel-adminless-ldap-auth)[silverstripe/contentreview

Flags pages for periodical author review (incl. reporting)

22264.3k4](/packages/silverstripe-contentreview)

PHPackages © 2026

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