adldap2/adldap2-laravel
Adldap2 Laravel integrates the Adldap2 LDAP library with Laravel, providing authentication plus user and group management through a config-driven API. Use it to connect Laravel applications to Active Directory and OpenLDAP servers for directory queries, search, and login.
php-ldap bind/search/TLS handling, connection pooling, and a Laravel auth driver from scratch — roughly weeks of engineering plus ongoing maintenance. Adopting an MIT package (893 stars, mature config surface) is the cheaper path to a working prototype. The maintenance caveat below is now narrower than it was: v6.1.7 ships Laravel 10.x support, so the package is not frozen in place, but it is still officially archived.Consider it when all of the following hold:
bind-based auth, not a cloud IdP.Look elsewhere (or plan to fork) when:
laravel-shift), which is reassuring evidence that the package still receives occasional patches — but there is no committed upstream maintenance cadence, and LDAP is a security-sensitive surface (credential binding, TLS/StartTLS, injection-safe filter construction). Treat it as vendored code you now own, and budget accordingly — or evaluate LdapRecord / LdapRecord-Laravel, the maintained successor from the same author, as the default recommendation for new work.To executives: This is a small, MIT-licensed integration that removes a recurring enterprise sales blocker — "your app doesn't work with our Active Directory." It lets customers log in with their corporate credentials, lets us derive roles from existing AD groups, and lets IT deprovision access centrally, which shortens security reviews and reduces our own account-management toil. The strategic value is segment access and faster enterprise onboarding, not novel functionality. The honest caveat: the upstream project was archived in early 2023, though it still receives compatibility patches — v6.1.7 added Laravel 10 support. That reduces the "abandoned dependency" risk but does not eliminate it: there is no support commitment, and we would effectively own the code if we build on it long-term. We should adopt a maintained equivalent or explicitly accept ownership of a fork — a modest, bounded engineering cost that should be priced into the proposal rather than discovered later.
To engineering: It's a Laravel-native LDAP layer — config-driven connections, an auth guard, and models for users and groups, so the integration is mostly configuration plus a group-to-role mapping layer rather than custom protocol code. v6.1.7 adds Laravel 10.x compatibility, so we have a known-good ceiling of Laravel 10 — if our roadmap has us on 11+ during this feature's lifetime, factor that in now. Two asks: (1) validate framework/PHP compatibility and TLS behavior against our target deployment before we commit, and (2) pick a maintenance posture up front — maintained successor, pinned-and-vendored fork with a named owner, or defer. We should not adopt an archived dependency in a security-sensitive path without that decision documented.
How can I help you explore Laravel packages today?