directorytree/ldaprecord-laravel
Integrate LDAP authentication and directory management into Laravel with LdapRecord. Configure connections, sync users and groups, run queries, and handle logins against Active Directory/OpenLDAP with clean, Laravel-friendly APIs and tooling.
Enterprise Authentication Roadmap: Enables LDAP/Active Directory integration for B2B/B2E SaaS products, accelerating adoption by enterprises requiring SSO. Aligns with strategic partnerships (e.g., Microsoft Azure AD, Okta) by providing a native LDAP layer without vendor lock-in. Supports multi-domain LDAP configurations for complex enterprise environments.
Build vs. Buy Decision: Buy to avoid:
User Provisioning & Sync Use Cases:
--resolve=merge).deleted_at sync for compliance).Legacy System Modernization:
Compliance & Security Features:
RulePassed, RuleFailed events) for GDPR/HIPAA compliance.Developer Productivity:
Avoid if:
league/oauth2-server or onelogin/php-saml).Consider alternatives if:
python-ldap + Django).Right fit for:
*"This package enables enterprise-grade LDAP/Active Directory integration in Laravel, unlocking:
*"LdapRecord-Laravel provides a batteries-included LDAP layer for Laravel, solving:
Auth::attempt()).--resolve=merge).User::where('mail', 'like', '%@company.com')).*"This package hardens LDAP interactions with:
RulePassed, RuleFailed) for compliance.*"This enables three key product outcomes:
*"LdapRecord-Laravel lets you:
User::where('department', 'IT')).--delete-missing for compliance).// Old way
$ldap = new LdapConnection();
$ldap->bind(...);
With this:
// New way
Auth::guard('ldap')->attempt(['username' => 'user', 'password' => 'pass']);
No more LDAP headaches—just Laravel-native LDAP."*
How can I help you explore Laravel packages today?