PHPackages                             sandritsch91/adldap2 - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sandritsch91/adldap2

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sandritsch91/adldap2
====================

A PHP LDAP Package for humans.

1.0.5(8mo ago)0351MITPHPPHP &gt;=8.2CI passing

Since Jan 27Pushed 8mo agoCompare

[ Source](https://github.com/Sandritsch91/Adldap2)[ Packagist](https://packagist.org/packages/sandritsch91/adldap2)[ RSS](/packages/sandritsch91-adldap2/feed)WikiDiscussions master Synced 1mo ago

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

This is a fork of the original Adldap2 package. The original package is no longer maintained and has been replaced by LdapRecord. This fork is intended to provide a temporary solution for those who are using the original Adldap2 package and don't want or can migrate to LdapRecord (yet).

I migrated the original Adldap2 package to PHP 8.2 with compatibility up to php 8.4. I also added strict typing to the codebase. If you encounter any issues, please open an issue on this repository or create a pull request.

Thanks to the author of Adldap2, Steven Bauman, for creating the original package.

---

### **⚠️ Project No Longer Maintained ⚠️**

[](#warning-project-no-longer-maintained-warning)

Consider migrating to its direct replacement [LdapRecord](https://github.com/DirectoryTree/LdapRecord "LdapRecord GitHub Repository").

**[Read Why](https://stevebauman.ca/why-ldap-record/)**

---

Adldap2
=======

[](#adldap2)

 [![](https://camo.githubusercontent.com/d6611f1ef2ef376a3edd4cd035b24512f2770e0f9f4462f79d193980bd0ffc76/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f61646c646170322f61646c646170322f54657374732e7376673f7374796c653d666c61742d737175617265)](https://github.com/Adldap2/Adldap2/actions) [![](https://camo.githubusercontent.com/3a5cb8744db7e9bff61aba50a75acbfd1f0a61f8622b9ff5d22e1b0713c66f92/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f61644c444150322f61644c444150322f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Adldap2/Adldap2/?branch=master) [![](https://camo.githubusercontent.com/2cbd04a99ea075d8b883e3d0d531f7908a5b1aaca9ed2066367645acb42b4bd7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61646c646170322f61646c646170322e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adldap2/adldap2) [![](https://camo.githubusercontent.com/a57ba63ccd0bb8201022f1a101948f38824863c4349c057a8f53e36701c347a6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61646c646170322f61646c646170322e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adldap2/adldap2) [![](https://camo.githubusercontent.com/3c5fba4558bb135dfa9e32ba23bfd22489bbd1f41fbb378d920004492befcf02/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f61646c646170322f61646c646170322e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adldap2/adldap2)

 Adldap2 is a PHP package that provides LDAP authentication and directory management tools using the [Active Record pattern](https://en.wikipedia.org/wiki/Active_record_pattern).

####  [Quickstart](https://adldap2.github.io/Adldap2/#/?id=quick-start)  ·  [Documentation](https://adldap2.github.io/Adldap2/)

[](#----quickstart----------documentation)

- **Up and running in minutes.** Effortlessly connect to your LDAP servers and start running queries &amp; operations in a matter of minutes.
- **Fluent query builder.** Building LDAP queries has never been so easy. Find the records you're looking for in a couple lines or less with a fluent interface.
- **Supercharged Active Record.** Create and modify LDAP records with ease. All LDAP records are individual models. Simply modify the attributes on the model and save it to persist the changes to your LDAP server.

---

### Security Vulnerabilities

[](#security-vulnerabilities)

If you discover a security vulnerability within Adldap2, please send an e-mail to Steve Bauman via [steven\_bauman@outlook.com](mailto:steven_bauman@outlook.com).

All security vulnerabilities will be promptly addressed.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance60

Regular maintenance activity

Popularity12

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.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 ~37 days

Recently: every ~47 days

Total

7

Last Release

251d ago

Major Versions

0.1.0 → 1.0.02025-01-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/239a4e22e3970ec416269e7fd1b42b26005057eb971076bb204cb6cd80b5642d?d=identicon)[Sandritsch91](/maintainers/Sandritsch91)

---

Top Contributors

[![stevebauman](https://avatars.githubusercontent.com/u/6421846?v=4)](https://github.com/stevebauman "stevebauman (2904 commits)")[![kichetof](https://avatars.githubusercontent.com/u/12150996?v=4)](https://github.com/kichetof "kichetof (28 commits)")[![strebl](https://avatars.githubusercontent.com/u/6151204?v=4)](https://github.com/strebl "strebl (12 commits)")[![Sandritsch91](https://avatars.githubusercontent.com/u/17873124?v=4)](https://github.com/Sandritsch91 "Sandritsch91 (10 commits)")[![nohnaimer](https://avatars.githubusercontent.com/u/8865830?v=4)](https://github.com/nohnaimer "nohnaimer (8 commits)")[![briskt](https://avatars.githubusercontent.com/u/3172830?v=4)](https://github.com/briskt "briskt (7 commits)")[![jspringe](https://avatars.githubusercontent.com/u/518362?v=4)](https://github.com/jspringe "jspringe (7 commits)")[![Nykilor](https://avatars.githubusercontent.com/u/12702266?v=4)](https://github.com/Nykilor "Nykilor (6 commits)")[![myrzan](https://avatars.githubusercontent.com/u/19947182?v=4)](https://github.com/myrzan "myrzan (5 commits)")[![Frankich](https://avatars.githubusercontent.com/u/20720219?v=4)](https://github.com/Frankich "Frankich (5 commits)")[![wunc](https://avatars.githubusercontent.com/u/11369963?v=4)](https://github.com/wunc "wunc (5 commits)")[![villfa](https://avatars.githubusercontent.com/u/2891564?v=4)](https://github.com/villfa "villfa (4 commits)")[![mvatansever](https://avatars.githubusercontent.com/u/5843891?v=4)](https://github.com/mvatansever "mvatansever (4 commits)")[![kkatpcc](https://avatars.githubusercontent.com/u/32937913?v=4)](https://github.com/kkatpcc "kkatpcc (3 commits)")[![eltharin](https://avatars.githubusercontent.com/u/7547802?v=4)](https://github.com/eltharin "eltharin (3 commits)")[![dscone](https://avatars.githubusercontent.com/u/1187353?v=4)](https://github.com/dscone "dscone (3 commits)")[![nerdalertdk](https://avatars.githubusercontent.com/u/3426495?v=4)](https://github.com/nerdalertdk "nerdalertdk (3 commits)")[![trantor](https://avatars.githubusercontent.com/u/69568?v=4)](https://github.com/trantor "trantor (3 commits)")[![mehrdad-shokri](https://avatars.githubusercontent.com/u/13661520?v=4)](https://github.com/mehrdad-shokri "mehrdad-shokri (3 commits)")[![nbrink](https://avatars.githubusercontent.com/u/19230640?v=4)](https://github.com/nbrink "nbrink (2 commits)")

---

Tags

directoryldapactive directoryadadLDAPwindowsadldap2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sandritsch91-adldap2/health.svg)

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

###  Alternatives

[directorytree/ldaprecord

A fully-featured LDAP ORM.

5782.9M10](/packages/directorytree-ldaprecord)[illuminate/broadcasting

The Illuminate Broadcasting package.

7126.5M178](/packages/illuminate-broadcasting)[symfony/ldap

Provides a LDAP client for PHP on top of PHP's ldap extension

1407.5M46](/packages/symfony-ldap)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[ldaptools/ldaptools

LdapTools is a feature-rich LDAP library for PHP 5.6+.

204263.9k1](/packages/ldaptools-ldaptools)[edvlerblog/yii2-adldap-module

yii2 Active Directory implementation (wrapper for Adldap2)

51227.3k](/packages/edvlerblog-yii2-adldap-module)

PHPackages © 2026

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