Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Ldaprecord Laravel Laravel Package

directorytree/ldaprecord-laravel

Integrate LDAP authentication and directory access into Laravel with LdapRecord. Provides user sync, login, Eloquent-style models for LDAP entries, configuration for multiple connections, and utilities for Active Directory and OpenLDAP environments.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enterprise Identity Integration: Enables seamless LDAP/Active Directory integration for authentication, user management, and synchronization in Laravel-based applications (e.g., SaaS platforms, internal tools, or legacy system modernizations).
  • Hybrid Authentication Systems: Supports "build vs. buy" decisions by avoiding custom LDAP logic, reducing technical debt, and leveraging a battle-tested package with Laravel compatibility (v8–v13).
  • User Provisioning & Sync: Facilitates automated LDAP-to-database imports (e.g., for HR systems, customer portals, or multi-tenant apps) via LdapImporter and CLI tools.
  • Compliance & Security: Addresses audit requirements with configurable logging (e.g., RulePassed/RuleFailed events) and password rehashing controls.
  • Legacy System Modernization: Bridges older LDAP-dependent systems with modern Laravel APIs, reducing migration effort.

When to Consider This Package

Adopt when:

  • Your Laravel app requires LDAP/AD authentication (e.g., SSO, directory-based auth).
  • You need synchronization between LDAP and a database (e.g., user provisioning, attribute mapping).
  • Your team lacks LDAP expertise but needs quick, maintainable integration.
  • You’re using Laravel 8–13 and want to avoid reinventing LDAP logic.
  • You require CLI tools (ldap:import, ldap:browse) for admin tasks or migrations.

Look elsewhere if:

  • You need multi-protocol support (e.g., SAML, OAuth) beyond LDAP.
  • Your LDAP environment is highly customized (e.g., non-standard schemas, complex queries) and the package lacks flexibility.
  • You’re using Laravel <8 or >13 (check compatibility).
  • Your use case involves real-time LDAP changes (this package focuses on batch sync/import).
  • You require enterprise-grade support (community-driven, no official vendor backing).

How to Pitch It (Stakeholders)

For Executives: "This package lets us integrate LDAP/Active Directory into our Laravel app with minimal dev effort—enabling SSO, user sync, and admin tools out-of-the-box. It’s actively maintained (recent Laravel 13 support), reduces security risks from custom LDAP code, and cuts provisioning time via automated imports. For example, [Competitor X] spent 6 months building this; we can ship it in weeks with this library."

For Engineers: *"LdapRecord-Laravel gives us:

  • Auth: LDAP-backed Laravel auth with password hashing, events, and debug tools.
  • Sync: CLI-driven LDAP-to-database imports with scoping (e.g., ldap:import --scopes=ou=users).
  • DevOps: Logging, emulation for testing, and Laravel 8–13 compatibility.
  • No LDAP PhD required: Handles edge cases (e.g., memberof attributes, SQL Server indexes) we’d otherwise debug for months. Tradeoff: Limited to LDAP; if we need SAML later, we’ll pair it with another package."*

For Security/Compliance: *"The package includes:

  • Configurable logging (e.g., RuleFailed events for audits).
  • Secure password handling (rehashing controls, deleted_at support).
  • MIT license (no vendor lock-in). Risk: Community support—we’d pair with internal LDAP testing for critical apps."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport