directorytree / ldaprecord-laravel
LDAP Authentication & Management for Laravel.
Package info
github.com/DirectoryTree/LdapRecord-Laravel
Type:project
pkg:composer/directorytree/ldaprecord-laravel
Fund package maintenance!
Requires
- php: >=8.1
- ext-json: *
- ext-ldap: *
- directorytree/ldaprecord: ^4.0
- illuminate/support: ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
- ramsey/uuid: *
Requires (Dev)
- laravel/pint: ^1.9
- laravel/sanctum: *
- mockery/mockery: ^1.0
- orchestra/testbench: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
- phpunit/phpunit: ^8.0|^9.0|^10.0|^11.0
- spatie/ray: ^1.28
This package is auto-updated.
Last update: 2026-06-08 17:20:30 UTC
README
Integrate LDAP into your Laravel application.
Documentation · Directory Browser · Post a Question
⭐️ Developer Experience First
LdapRecord focuses on clean, easy to understand syntax along with thorough documentation.
🔑 Authenticate LDAP Users
Allow LDAP users to log into your application and control which users can login via Scopes and Rules.
🔄 Import & Synchronize LDAP users
Import users from your directory via command: php artisan ldap:import.
💼 Multi-Domain Support
Authenticate users from as many LDAP domains as you'd like. Support comes out of the box.
🎩 Eloquent Query Builder
Search for LDAP objects with a fluent and easy to use interface you're used to. You'll feel right at home.
✏️ Active Record LDAP Models
LDAP objects are individual models. Persist them to your LDAP server with a single save().
💫 LDAP Directory Emulator
Test authenticating and querying users without changing your application code.
Create, update, and delete LDAP objects without touching a real LDAP server.
LdapRecord-Laravel is Supportware™
If you require support using LdapRecord-Laravel, a sponsorship is required 🙏
Thank you for your understanding ❤️
Security Vulnerabilities
If you discover a security vulnerability within LdapRecord-Laravel, please send an e-mail to Steve Bauman via steven_bauman@outlook.com.
All security vulnerabilities will be promptly addressed.