yunai39/simple-ldap-bundle
A lightweight LDAP bundle for PHP applications that simplifies connecting to directory servers, authenticating users, and running common LDAP queries. It wraps PHP's LDAP extension with straightforward configuration for quick integration.
Verdict up front: not adoptable as a dependency. The package is a Symfony bundle, not a Laravel package, last released 2017-02-08, with 1 star and 0 dependents. Both framework fit and maintenance posture fail the bar for anything on the authentication path.
Architecture fit
SimpleLdapBundle is a Symfony Bundle — it relies on Symfony's kernel, dependency-injection extension, semantic config tree, and (circa 2017) the Security component's authentication provider/listener model. Laravel has no bundle registration mechanism; adoption means writing an adapter layer plus a Laravel guard/user provider on top.AuthenticationProviderInterface, UserProviderInterface in their 2.x/3.x form) were deprecated in Symfony 4.2 and removed in 5.0. The code is structurally incompatible with any current Symfony or Laravel release.Integration feasibility
php to the 5.x/7.0–7.1 era and pull symfony/* ^2.7/^3.0 transitives that conflict with Laravel 9–11 (Symfony ^6/^7). Forcing it with --ignore-platform-reqs or a fork is not acceptable for auth code.ext-ldap (roughly a few hundred lines: bind, search, group expansion, JIT user provisioning).Technical risk
Key questions
Stack fit
Recommended paths (in order of preference)
directorytree/ldaprecord-laravel — actively maintained, Laravel-native guard/provider integration, handles AD and OpenLDAP, group mapping, and connection configuration. Verify current Laravel/PHP support against our version before committing.Auth::extend guard + UserProvider over ext-ldap. Full control of TLS options, filter escaping, timeouts, and group resolution. Best when requirements are unusual (multi-domain AD, nested groups, custom attribute mapping).symfony/ldap component with the native LDAP user provider — do not resurrect this bundle.SimpleLdapBundle for Laravel. Cost exceeds replacement; permanent maintenance liability.Migration path
ldap_dn / directory_id columns and JIT-provision on first successful bind (map attributes to local user record; never store the directory password).Compatibility checklist before any code
Sequencing
Maintenance
Support
Scaling
Failure modes to design for
Ramp-up
Bottom line for the decision record: reject yunai39/simple-ldap-bundle. It is the wrong framework, out of support for roughly nine years, and sits on the most security-sensitive path in the application. Fund an LDAP integration built on a maintained library or a native guard instead, and treat this package only as a historical reference for the bind/search flow.
How can I help you explore Laravel packages today?