comphp/auth-ldap

Authentication Driver for CommonPHP which utilizes LDAP/Active Directory

Maintainers

Package info

github.com/commonphp/auth-ldap

pkg:composer/comphp/auth-ldap

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2026-05-17 04:45 UTC

This package is auto-updated.

Last update: 2026-05-20 18:02:52 UTC


README

Authentication driver for CommonPHP that uses LDAP as an authentication source.

Requirements

  • PHP ^8.5
  • comphp/auth:^0.3
  • LDAP support through the applicable PHP extension or LDAP integration library

Installation

Once this package is available through your Composer repositories, install it with:

composer require comphp/auth-ldap

Usage

<?php

// TODO: Write usage

Driver Notes

This driver is intended for applications that authenticate users against an LDAP directory such as Active Directory or another LDAP-compatible identity source.

The driver should handle LDAP-specific connection, bind, search, and credential verification behavior while exposing the common auth driver contract used by CommonPHP.

Error Handling

LDAP connection failures, bind failures, lookup failures, invalid configuration, and authentication source errors should throw CommonPHP auth driver exceptions instead of returning ambiguous false values.

Documentation

License

MIT. See LICENSE.md.