PHPackages                             directorytree/ldaprecord-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. directorytree/ldaprecord-laravel

ActiveProject[Authentication &amp; Authorization](/categories/authentication)

directorytree/ldaprecord-laravel
================================

LDAP Authentication &amp; Management for Laravel.

v3.4.3(2mo ago)5682.0M—5.3%58[6 issues](https://github.com/DirectoryTree/LdapRecord-Laravel/issues)[1 PRs](https://github.com/DirectoryTree/LdapRecord-Laravel/pulls)14MITPHPPHP &gt;=8.1CI passing

Since Feb 14Pushed 1mo ago10 watchersCompare

[ Source](https://github.com/DirectoryTree/LdapRecord-Laravel)[ Packagist](https://packagist.org/packages/directorytree/ldaprecord-laravel)[ GitHub Sponsors](https://github.com/stevebauman)[ RSS](/packages/directorytree-ldaprecord-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (18)Versions (99)Used By (14)

 [![](https://camo.githubusercontent.com/1327574a057c0c4dc701867549d9f3439be5b7e7cd64509bf6ac3f2c698c9072/68747470733a2f2f6c6461707265636f72642e636f6d2f6c6f676f2e737667)](https://camo.githubusercontent.com/1327574a057c0c4dc701867549d9f3439be5b7e7cd64509bf6ac3f2c698c9072/68747470733a2f2f6c6461707265636f72642e636f6d2f6c6f676f2e737667)

Integrate LDAP into your Laravel application.

 [![](https://camo.githubusercontent.com/2e1998c3de2127e810a6b93cbfcd382818a0acfe93e9d34e1def19fed3e3cc76/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275696c745f666f722d4c61726176656c2d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://laravel.com) [![](https://camo.githubusercontent.com/8b21a00db06c900e7fdbace10bc9c403bb0fac75a18bb606effe6974611d0935/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6469726563746f7279747265652f6c6461707265636f72642d6c61726176656c2f72756e2d74657374732e796d6c3f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://github.com/DirectoryTree/LdapRecord-Laravel/actions) [![](https://camo.githubusercontent.com/91fbf5c39b7cbabdfc852b7baeeb5745a0154ad26f6b6234177d10099b3cd89a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6469726563746f7279747265652f6c6461707265636f72642d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/directorytree/ldaprecord-laravel) [![](https://camo.githubusercontent.com/1d4c15565545c5ce3d36d083081fe4320593a900a95b0f93981ea77bd6bd7022/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6469726563746f7279747265652f6c6461707265636f72642d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/directorytree/ldaprecord-laravel) [![](https://camo.githubusercontent.com/950b7d8192ab35078c3273cea8889364cfa90c2c04863c87f5b6629a2f2c66c0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6469726563746f7279747265652f6c6461707265636f72642d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/directorytree/ldaprecord-laravel)

####  [Documentation](https://ldaprecord.com/docs/laravel/v3/)  ·  [Directory Browser](https://github.com/DirectoryTree/LdapRecord-Browser)  ·  [Post a Question](https://github.com/DirectoryTree/LdapRecord-Laravel/discussions/new)

[](#----documentation----------directory-browser----------post-a-question)

---

⭐️ **Developer Experience First**

LdapRecord focuses on clean, easy to understand syntax along with thorough documentation.

🔑 **Authenticate LDAP Users**

Allow LDAP users to log into your application and control which users can login via [Scopes](https://ldaprecord.com/docs/laravel/v3/usage/#scopes) and [Rules](https://ldaprecord.com/docs/laravel/v1/auth/configuration/#rules).

🔄 **Import &amp; Synchronize LDAP users**

Import users from your directory via [command](https://ldaprecord.com/docs/laravel/v3/auth/database/importing): `php artisan ldap:import`.

💼 **Multi-Domain Support**

Authenticate users from as many LDAP domains as you'd like. Support comes [out of the box](https://ldaprecord.com/docs/laravel/v3/auth/multi-domain).

🎩 **Eloquent Query Builder**

Search for LDAP objects with a [fluent and easy to use interface](https://ldaprecord.com/docs/core/v3/searching) you're used to. You'll feel right at home.

✏️ **Active Record LDAP Models**

LDAP objects are [individual models](https://ldaprecord.com/docs/core/v3/models). Persist them to your LDAP server with a single `save()`.

💫 **LDAP Directory Emulator**

Test [authenticating](https://ldaprecord.com/docs/laravel/v3/auth/testing/#getting-started) and [querying users](https://ldaprecord.com/docs/laravel/v3/testing/#getting-started) without changing your application code.

Create, update, and delete LDAP objects without touching a real LDAP server.

---

### LdapRecord-Laravel is Supportware™

[](#ldaprecord-laravel-is-supportware)

If you require support using LdapRecord-Laravel, a [sponsorship](https://github.com/sponsors/stevebauman) is required 🙏

Thank you for your understanding ❤️

---

### Security Vulnerabilities

[](#security-vulnerabilities)

If you discover a security vulnerability within LdapRecord-Laravel, please send an e-mail to Steve Bauman via [steven\_bauman@outlook.com](mailto:steven_bauman@outlook.com).

All security vulnerabilities will be promptly addressed.

###  Health Score

71

—

ExcellentBetter than 100% of packages

Maintenance89

Actively maintained with recent releases

Popularity63

Solid adoption and visibility

Community40

Growing community involvement

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 96.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~27 days

Recently: every ~98 days

Total

83

Last Release

54d ago

Major Versions

v1.7.5 → v2.0.02020-12-24

v1.0.x-dev → v2.1.02021-02-11

v2.7.3 → v3.0.02023-06-11

v3.4.3 → v4.0.x-dev2026-03-25

PHP version history (3 changes)v1.0.0PHP &gt;=7.2

v2.4.0PHP &gt;=7.3

v3.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/c6dd082636ff8a08df8dfdcd622ea242374d1d76dd33bceec5a6cd3ae26dc24f?d=identicon)[stevebauman](/maintainers/stevebauman)

---

Top Contributors

[![stevebauman](https://avatars.githubusercontent.com/u/6421846?v=4)](https://github.com/stevebauman "stevebauman (2091 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (16 commits)")[![strebl](https://avatars.githubusercontent.com/u/6151204?v=4)](https://github.com/strebl "strebl (7 commits)")[![grantholle](https://avatars.githubusercontent.com/u/1189456?v=4)](https://github.com/grantholle "grantholle (6 commits)")[![HepplerDotNet](https://avatars.githubusercontent.com/u/12952240?v=4)](https://github.com/HepplerDotNet "HepplerDotNet (5 commits)")[![Douglasdc3](https://avatars.githubusercontent.com/u/5066883?v=4)](https://github.com/Douglasdc3 "Douglasdc3 (4 commits)")[![yakatz](https://avatars.githubusercontent.com/u/93333?v=4)](https://github.com/yakatz "yakatz (4 commits)")[![cheesegrits](https://avatars.githubusercontent.com/u/934456?v=4)](https://github.com/cheesegrits "cheesegrits (3 commits)")[![nilskretschmer](https://avatars.githubusercontent.com/u/24235417?v=4)](https://github.com/nilskretschmer "nilskretschmer (3 commits)")[![umt-dev-123](https://avatars.githubusercontent.com/u/136470301?v=4)](https://github.com/umt-dev-123 "umt-dev-123 (3 commits)")[![harrygulliford](https://avatars.githubusercontent.com/u/5051286?v=4)](https://github.com/harrygulliford "harrygulliford (3 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (3 commits)")[![AdrienPoupa](https://avatars.githubusercontent.com/u/15086425?v=4)](https://github.com/AdrienPoupa "AdrienPoupa (2 commits)")[![aneip](https://avatars.githubusercontent.com/u/4075733?v=4)](https://github.com/aneip "aneip (2 commits)")[![hhfa1990](https://avatars.githubusercontent.com/u/6854095?v=4)](https://github.com/hhfa1990 "hhfa1990 (2 commits)")[![jameskraus](https://avatars.githubusercontent.com/u/415057?v=4)](https://github.com/jameskraus "jameskraus (2 commits)")[![jkniest](https://avatars.githubusercontent.com/u/15618191?v=4)](https://github.com/jkniest "jkniest (2 commits)")[![SatanicGeek](https://avatars.githubusercontent.com/u/12272817?v=4)](https://github.com/SatanicGeek "SatanicGeek (2 commits)")[![Schnoop](https://avatars.githubusercontent.com/u/1263407?v=4)](https://github.com/Schnoop "Schnoop (2 commits)")[![syphernl](https://avatars.githubusercontent.com/u/639906?v=4)](https://github.com/syphernl "syphernl (2 commits)")

---

Tags

activerecordlaravelldapldap-authldap-authenticationlaravelldapadldap2ldaprecord

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/directorytree-ldaprecord-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/directorytree-ldaprecord-laravel/health.svg)](https://phpackages.com/packages/directorytree-ldaprecord-laravel)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
