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

ActiveLibrary

adldap/adldap
=============

A PHP LDAP Library for Active Directory Manipulation

5.0.0.x-dev(10y ago)429170.1k↓33.8%196[29 PRs](https://github.com/adldap/adLDAP/pulls)9LGPL-2.1PHPPHP &gt;=5.4.0CI failing

Since Jun 16Pushed 6y ago56 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (9)

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

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity54

Moderate usage in the ecosystem

Community37

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

3989d ago

### Community

Maintainers

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

---

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)")[![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)")[![EifX](https://avatars.githubusercontent.com/u/882472?v=4)](https://github.com/EifX "EifX (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)")

---

Tags

ldapactive directorywindows

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[directorytree/ldaprecord

A fully-featured LDAP ORM.

5782.9M10](/packages/directorytree-ldaprecord)[symfony/ldap

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

1407.5M46](/packages/symfony-ldap)[ldaptools/ldaptools

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

204263.9k1](/packages/ldaptools-ldaptools)[avadaneidanut/ldapquery

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

4717.8k](/packages/avadaneidanut-ldapquery)[edvlerblog/yii2-adldap-module

yii2 Active Directory implementation (wrapper for Adldap2)

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

This extension provides LDAP support for TYPO3 by delegating the authentication of frontend and/or backend users to the centrally-managed directory of your organization. It fully supports OpenLDAP and Active Directory and is capable of connecting securely to the authentication server using either TLS or SSL (ldaps://). In case of use in an intranet environment, this extension is a perfect match since it natively brings Single Sign-On (SSO) capability to TYPO3 without any complex configuration.

33377.4k](/packages/causal-ig-ldap-sso-auth)

PHPackages © 2026

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