Laravel Packages

Laravel LDAP

Published Updated
Laravel LDAP image

LdapRecord is a full-featured Lightweight Directory Access Protocol (LDAP) framework that helps you quickly integrate LDAP into your PHP applications. They recently released V3, and we thought it would be an excellent time to share this package:

LdapRecord includes an Activerecord ORM and ships with Models for popular LDAP directories:

  • ActiveDirectory models: Entry, User, Group, Printer, and more
  • OpenLDAP models: Entry, User, Group, and OrganizationalUnit
  • FreeIPA Models: Entry, User, and Group

Models also support relationships, model accessors and mutators, and a powerful model query builder. In addition to models, this package has other features like:

  • Authentication
  • Fluent filter builders
  • Multi-domain ready
  • Query caching
  • Restoring deleted objecs
  • Event handling and listeners for LDAP actions
  • Logging events
  • Testing support for LDAP
  • And more...

You can get started with this package with the Quickstart guide in the official documentation. Also, check out the source code, whis is available on GitHub.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
WhenMounted and BigInt Props in Inertia.js v3.8 image

WhenMounted and BigInt Props in Inertia.js v3.8

Read article
Postcodes for Laravel: GB Postcode Lookup and Geography Data image

Postcodes for Laravel: GB Postcode Lookup and Geography Data

Read article
Laravel 14 Adds a defaults() Method to Eloquent Models image

Laravel 14 Adds a defaults() Method to Eloquent Models

Read article
Laravel AI SDK and Laravel MCP Security Fixes: Update Now image

Laravel AI SDK and Laravel MCP Security Fixes: Update Now

Read article
Mailbox for Laravel: Preview and Test Rendered Email image

Mailbox for Laravel: Preview and Test Rendered Email

Read article
Count Worker Crashes as Job Exceptions in Laravel 13.34 image

Count Worker Crashes as Job Exceptions in Laravel 13.34

Read article