PHPackages                             tecnical/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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. tecnical/adldap

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

tecnical/adldap
===============

tagged master branch version of adldap/adLDAP

v1.0.0(10y ago)034LGPL-2.1PHPPHP &gt;=5.3.0

Since Sep 29Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

FORK
====

[](#fork)

This fork is to reflect the [latest changes](https://github.com/adldap/adLDAP/compare/v4.0.4...ee471d2243124dcf29efd8c079456cc56e2fa6e7) on master to packagist.

Currently on commit [ee471d2243](https://github.com/adldap/adLDAP/commit/ee471d2243124dcf29efd8c079456cc56e2fa6e7) of [adldap/adLDAP](https://github.com/adldap/adLDAP/)

Current release: v4.0.5

I'll delete this repo if they decide to actively develop and tag adldap/adLDAP again.

PHP LDAP CLASS FOR MANIPULATING ACTIVE DIRECTORY
================================================

[](#php-ldap-class-for-manipulating-active-directory)

*Current Stable Version 4.0.0 *

*Next Version 5.0.0*

Written by Scott Barnett, Richard Hyland email: ,

ABOUT
-----

[](#about)

adLDAP is a PHP class that provides LDAP authentication and integration with Active Directory.

We'd appreciate any improvements or additions to be submitted back to benefit the entire community :)

REQUIREMENTS
------------

[](#requirements)

adLDAP requires PHP 5 and both the LDAP () and SSL () libraries adLDAP version 5.0.0 will require PHP 5.3+

INSTALLATION
------------

[](#installation)

adLDAP is not an application, but a class library designed to integrate into your own applications.

The core of adLDAP is contained in the 'lib/adLDAP' directory. Simply copy/rename this directory inside your own projects.

Edit the file `lib/adldap/adLDAP.php` and change the configuration variables near the top, specifically those for domain controllers, base dn and account suffix, and if you want to perform anything more complex than use authentication you'll also need to set the admin username and password variables too.

From within your code simply require the adLDAP.php file and call it like so

```
use \adLDAP;
require_once(dirname(__FILE__) . '/adLDAP.php');
$adldap = new adLDAP();

```

It would be better to wrap it in a try/catch though

```
use \adLDAP;
try {
    $adldap = new adLDAP();
}
catch (adLDAPException $e) {
    echo $e;
    exit();
}

```

Then simply call commands against it e.g.

`$adldap->authenticate($username, $password);`

or

`$adldap->group()->members($groupName);`

DOCUMENTATION
-------------

[](#documentation)

You can find our website at  or the class documentation at

LICENSE
-------

[](#license)

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details or LICENSE.txt distributed with this class.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3931d ago

### Community

Maintainers

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

---

Top Contributors

[![tecnical](https://avatars.githubusercontent.com/u/3150716?v=4)](https://github.com/tecnical "tecnical (1 commits)")

---

Tags

ldapactive directorywindows

### Embed Badge

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

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

###  Alternatives

[edvlerblog/yii2-adldap-module

yii2 Active Directory implementation (wrapper for Adldap2)

49233.4k](/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.

33394.1k1](/packages/causal-ig-ldap-sso-auth)[ldaptools/ldaptools-bundle

Provides easy LDAP integration for Symfony via LdapTools.

50162.5k](/packages/ldaptools-ldaptools-bundle)[chrmorandi/yii2-ldap

Ldap

1454.3k](/packages/chrmorandi-yii2-ldap)[riper/security-active_directory

This is a bundle to allow authentication into symfony &gt;= 2.6 by an Active directory

163.7k](/packages/riper-security-active-directory)

PHPackages © 2026

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