PHPackages                             divad942/adldap - 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. divad942/adldap

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

divad942/adldap
===============

A PHP LDAP Library for Active Directory Manipulation

5.0.0.x-dev(10y ago)04LGPL-2.1PHPPHP &gt;=5.4.0

Since Jun 16Pushed 7y ago1 watchersCompare

[ Source](https://github.com/divad942/adLDAP)[ Packagist](https://packagist.org/packages/divad942/adldap)[ RSS](/packages/divad942-adldap/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Description
-----------

[](#description)

> **ATTENTION**: Version v5.0.0 is in heavy development, however it is close to completion. Use 'dev-master' at you're own risk.

adLDAP is a tested PHP class library that provides LDAP authentication and Active Directory management tools.

Index
-----

[](#index)

> **Note:** Documentation is incomplete as Adldap is currently in the upgrade process to version `5.0.0`. They will be fully featured and complete in the coming weeks.

- [Installation](#installation)
- [Testing With A Public AD Server](#need-to-test-an-ldap-connection)
- [Upgrading to v5 from v4](docs/UPGRADING.md)
- [Getting Started](docs/GETTING-STARTED.md)
- Usage
- [Search Functions](docs/SEARCH-FUNCTIONS.md)
- [Computer Functions](docs/COMPUTER-FUNCTIONS.md)
- [Contact Functions](docs/CONTACT-FUNCTIONS.md)
- [Exchange Functions](docs/EXCHANGE-FUNCTIONS.md)
- [Folder Functions](docs/FOLDER-FUNCTIONS.md)
- [Group Functions](docs/GROUP-FUNCTIONS.md)
- [User Functions](docs/USER-FUNCTIONS.md)

Requirements
------------

[](#requirements)

To use adLDAP, your sever must support:

- PHP 5.4 or greater
- PHP LDAP Extension

Optional Requirements
---------------------

[](#optional-requirements)

If your AD server requires SSL, your server must support the following libraries:

- PHP SSL Libraries ()

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

[](#installation)

adLDAP has moved to a composer based installation. If you'd like to use adLDAP without an auto-loader, you'll have to require the files inside the project `src/` directory yourself.

Insert Adldap into your `composer.json` file:

```
"adldap/adldap": "5.0.*"

```

Run `composer update`

You're good to go!

Need to test an LDAP connection?
--------------------------------

[](#need-to-test-an-ldap-connection)

If you need to test something with access to an LDAP server, the generous folks at [Georgia Tech](http://drupal.gatech.edu/handbook/public-ldap-server) have you covered.

Use the following configuration:

```
$config = array(
    'account_suffix' => "@gatech.edu",

    'domain_controllers' => array("whitepages.gatech.edu"),

    'base_dn' => 'dc=whitepages,dc=gatech,dc=edu',

    'admin_username' => '',

    'admin_password' => '',
);

$ad = new Adldap($config);

```

However while useful for basic testing, the queryable data only includes user data, so if you're looking for testing with any other information or functionality such as modification, you'll have to use you're own server.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor2

2 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

Unknown

Total

1

Last Release

3985d ago

### Community

Maintainers

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

---

Top Contributors

[![Rich2k](https://avatars.githubusercontent.com/u/194617?v=4)](https://github.com/Rich2k "Rich2k (21 commits)")[![ulf-de](https://avatars.githubusercontent.com/u/5023900?v=4)](https://github.com/ulf-de "ulf-de (13 commits)")[![grandkrav](https://avatars.githubusercontent.com/u/4198734?v=4)](https://github.com/grandkrav "grandkrav (6 commits)")[![treadstone42](https://avatars.githubusercontent.com/u/3845635?v=4)](https://github.com/treadstone42 "treadstone42 (4 commits)")[![blackburn2](https://avatars.githubusercontent.com/u/42961549?v=4)](https://github.com/blackburn2 "blackburn2 (2 commits)")[![cweagans](https://avatars.githubusercontent.com/u/101590?v=4)](https://github.com/cweagans "cweagans (2 commits)")[![samwilson](https://avatars.githubusercontent.com/u/213655?v=4)](https://github.com/samwilson "samwilson (2 commits)")[![davidbaselj](https://avatars.githubusercontent.com/u/7064170?v=4)](https://github.com/davidbaselj "davidbaselj (1 commits)")[![ChadSikorra](https://avatars.githubusercontent.com/u/388229?v=4)](https://github.com/ChadSikorra "ChadSikorra (1 commits)")[![closer9](https://avatars.githubusercontent.com/u/206111?v=4)](https://github.com/closer9 "closer9 (1 commits)")[![EifX](https://avatars.githubusercontent.com/u/882472?v=4)](https://github.com/EifX "EifX (1 commits)")

---

Tags

ldapactive directorywindows

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/divad942-adldap/health.svg)

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

###  Alternatives

[symfony/ldap

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

1407.5M46](/packages/symfony-ldap)[directorytree/ldaprecord

A fully-featured LDAP ORM.

5782.9M10](/packages/directorytree-ldaprecord)[ldaptools/ldaptools

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

204263.9k1](/packages/ldaptools-ldaptools)[adldap/adldap

A PHP LDAP Library for Active Directory Manipulation

429170.1k9](/packages/adldap-adldap)[avadaneidanut/ldapquery

A light weight package for easily building LDAP advanced filter queries.

4717.8k](/packages/avadaneidanut-ldapquery)[freedsx/ldap

A Pure PHP LDAP library

157142.4k2](/packages/freedsx-ldap)

PHPackages © 2026

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