Laravel LDAP
Last updated on by Paul Redmond
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:
I'm excited to announce the release of LdapRecord v3.0 🎉! This major version introduces significant changes and improvements, focusing on stricter typing, utilizing new PHP features and methods, updated dependencies, and enhanced binding capabilities. Check out the release notes…
— Steve Bauman (@ste_bau) May 1, 2023
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
, andOrganizationalUnit
- FreeIPA Models:
Entry
,User
, andGroup
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.