PHPackages                             alex-rad/laravel-ldap-credentials - 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. alex-rad/laravel-ldap-credentials

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

alex-rad/laravel-ldap-credentials
=================================

Extends Database and Eloquent User Authentication Providers (Laravel framework) to validate credentials (email and password) in LDAP

v1.0.1(10y ago)13542[1 issues](https://github.com/AlexRadch/Laravel-LdapCredentials/issues)MITPHPPHP &gt;=5.5

Since Oct 28Pushed 10y ago3 watchersCompare

[ Source](https://github.com/AlexRadch/Laravel-LdapCredentials)[ Packagist](https://packagist.org/packages/alex-rad/laravel-ldap-credentials)[ Docs](https://github.com/AlexRadch/Laravel-LdapCredentials)[ RSS](/packages/alex-rad-laravel-ldap-credentials/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Laravel-LdapCredentials
=======================

[](#laravel-ldapcredentials)

Extends Database and Eloquent User Authentication Drivers (Laravel framework) to validate credentials (email and password) in LDAP.

Password field should be removed from Users table and model.

It does not support to reset password by email and new user registration.

Installation
------------

[](#installation)

1. Run `composer require "alex-rad/laravel-ldap-credentials"` to install package.
2. Add LdapCredentials Service Provider to the `config/app.php` configuration file.

    ```
    'providers' => [
        ...
        LdapCredentials\Auth\AuthServiceProvider::class,
        ...
    ],
    ```
3. Add LDAP settings to the `config/auth.php` configuration file.

    ```
    /*
    |--------------------------------------------------------------------------
    | LDAP Settings
    |--------------------------------------------------------------------------
    |
    | For "databaseLdapCredentials" or "eloquentLdapCredentials" user
    | authentication drivers.
    |
    */

    'ldap' => [
        'host' => env('LDAP_HOST', 'ldap.server.com'),
        'port' => env('LDAP_PORT', 389),
        'user' => env('LDAP_USER', NULL),
        'password' => env('LDAP_PASSWORD', NULL),
        'base' => env('LDAP_BASE', ''),
    ],
    ```
4. Add LDAP settings to the environment `.ENV` configuration file (optional).

    ```
    LDAP_HOST=ldap.company.com

    ```
5. Switch User Authentication Driver to `databaseLdapCredentials` or `eloquentLdapCredentials` driver in `config/auth.php` configuration file.

    ```
    'driver' => 'eloquentLdapCredentials',
    ```

    or

    ```
    'driver' => 'databaseLdapCredentials',
    ```
6. Remove reset password by email and new user registration functions from application.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

2

Last Release

3901d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1eb55638219f490055157708c8439b6ce49e6136f8fb9e65e4ac02d10dc84d00?d=identicon)[Alexander Radchenko](/maintainers/Alexander%20Radchenko)

---

Top Contributors

[![AlexRadch](https://avatars.githubusercontent.com/u/6407980?v=4)](https://github.com/AlexRadch "AlexRadch (14 commits)")

---

Tags

laravelAuthenticationuserproviderldapcredentials

### Embed Badge

![Health badge](/badges/alex-rad-laravel-ldap-credentials/health.svg)

```
[![Health](https://phpackages.com/badges/alex-rad-laravel-ldap-credentials/health.svg)](https://phpackages.com/packages/alex-rad-laravel-ldap-credentials)
```

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k18.6M64](/packages/lab404-laravel-impersonate)[lab404/laravel-auth-checker

Laravel Auth Checker allows you to log users authentication, devices authenticated from and lock intrusions.

225167.3k2](/packages/lab404-laravel-auth-checker)[lakm/nopass

Provides passwordless authentication for your laravel projects.

2215.9k3](/packages/lakm-nopass)[maicol07/laravel-oidc-client

OpenID Connect Client for Laravel

281.3k](/packages/maicol07-laravel-oidc-client)

PHPackages © 2026

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