directorytree/ldaprecord

A fully-featured LDAP ORM.
4,141,381 581
Install
composer require directorytree/ldaprecord
Latest Version:v4.1.1
PHP:>=8.1
Laravel:8 – 13
Older releases:5 · 6 · 7
License:MIT
Last Updated:Oct 8, 2026
Links: GitHub  ·  Packagist
Maintainer: stevebauman

Installation

Install the package via Composer:

composer require directorytree/ldaprecord

See the installation guide for requirements and setup, then follow the quickstart to connect to your directory.

Features

Up and Running Fast

Connect to your LDAP servers and start running queries in a matter of minutes.

Fluent Filter Builder

Find the LDAP objects you're looking for with a fluent LDAP filter builder.

Multi-Domain Ready

Built-in connection management allows you to access multiple domains without breaking a sweat.

Supercharged Active Record

Create and modify LDAP objects with minimal code.

Active Directory Features

Enable / Disable Accounts

Detect and assign User Account Control values on accounts with the fluent Account Control builder.

Reset / Change Passwords

Built-in support for changing and resetting passwords on Active Directory accounts.

Restore Deleted Objects

Seamlessly access your Active Directory recycle bin and restore deleted objects.

LdapRecord is Supportware™

If you require support using LdapRecord, a sponsorship is required :pray:

Thank you for your understanding :heart:

Security Vulnerabilities

If you discover a security vulnerability within LdapRecord, please send an e-mail to Steve Bauman via steven_bauman@outlook.com.

All security vulnerabilities will be promptly addressed.

Credits

This package is directly inspired from Laravel's Eloquent, and most features are direct ports to an LDAP equivalent.

I am forever grateful for the work Taylor Otwell has produced.

If you can, support his work by purchasing a sponsorship, or one of his many Laravel based services.

Related Packages

aimme/laravel5-ldap

Ldap (Active Directory) authentication for Laravel 5

30 0
directorytree/ldaprecord-lumen

LDAP Authentication & Management for Lumen.

22,947 0
sroutier/eloquent-ldap

A Laravel package that first tries to log the user against the internal database...

8,728 20
minkbear/adldap2-laravel

Adldap2 for Laravel 5.

179 0
directorytree/ldaprecord-laravel

LDAP Authentication & Management for Laravel.

2,861,582 574

Version History

Version Released PHP Laravel License
v4.1.1 >=8.1 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
v4.1.0 >=8.1 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
v4.0.8 >=8.1 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
v4.0.7 >=8.1 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
v4.0.6 >=8.1 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
Pre-releases (4)
Version Released PHP Laravel License
v1.0.0-beta.4 >=7.1 ^5.0|^6.0 MIT
v1.0.0-beta.3 >=7.1 ^5.0|^6.0 MIT
v1.0.0-beta.2 >=7.1 ^5.0|^6.0 MIT
v1.0.0-beta.1 >=7.1 ^5.0|6.0.* MIT