PHPackages                             cirkut/ldap-connector - 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. cirkut/ldap-connector

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

cirkut/ldap-connector
=====================

Easily authenticate with LDAP in Laravel

3.0.2(11y ago)03MITPHPPHP &gt;=5.3.0

Since Apr 22Pushed 11y ago1 watchersCompare

[ Source](https://github.com/cirkut/ldap-connector)[ Packagist](https://packagist.org/packages/cirkut/ldap-connector)[ Docs](https://github.com/dsdevbe/ldap-connector)[ RSS](/packages/cirkut-ldap-connector/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

Ldap-connector
==============

[](#ldap-connector)

Provides an solution for authentication users with LDAP for Laravel 5.0.x. It uses ADLDAP library to create a bridge between Laravel and LDAP

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

[](#installation)

1. Install this package through Composer for Laravel v5.0:

    ```
    composer require dsdevbe/ldap-connector:3.*
    ```

    If you still want to use Ldap-connector for Laravel v4.2 please refer to the following package

    ```
    composer require dsdevbe/ldap-connector:2.*
    ```
2. Change the authentication driver in the Laravel config to use the ldap driver. You can find this in the following file `config/auth.php`

    ```
    'driver' => 'ldap',
    ```
3. Create a new configuration file `ldap.php` in the configuration folder of Laravel `app/config/ldap.php` and modify to your needs. For more detail of the configuration you can always check on [ADLAP documentation](http://adldap.sourceforge.net/wiki/doku.php?id=documentation_configuration)

    ```
    return array(
    	'account_suffix'=>  "@domain.local",
    	'domain_controllers'=>  array("192.168.0.1", "dc02.domain.local"), // Load balancing domain controllers
    	'base_dn'   =>  'DC=domain,DC=local',
    );

    ```
4. Once this is done you arrived at the final step and you will need to add a service provider. Open `config/app.php`, and add a new item to the providers array.

    ```
    'Dsdevbe\LdapConnector\LdapConnectorServiceProvider'

    ```

Usage
-----

[](#usage)

The LDAP plugin is an extension of the AUTH class and will act the same as normal usage with Eloquent driver.

```
```
if (Auth::attempt(array('username' => $email, 'password' => $password)))
{
    return Redirect::intended('dashboard');
}
```

```

You can find more examples on [Laravel Auth Documentation](http://laravel.com/docs/master/authentication) on using the `Auth::` function.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~77 days

Total

5

Last Release

4098d ago

Major Versions

1.0.0 → 2.0.02014-10-28

2.0.0 → 3.0.02015-02-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/92eb8077bb0aafeea9658dd7e744883f31e7203acf628d1d494d718243489517?d=identicon)[cirkut](/maintainers/cirkut)

---

Top Contributors

[![SaschaDens](https://avatars.githubusercontent.com/u/6088464?v=4)](https://github.com/SaschaDens "SaschaDens (3 commits)")[![cirkut](https://avatars.githubusercontent.com/u/3690775?v=4)](https://github.com/cirkut "cirkut (2 commits)")

---

Tags

laravelldap

### Embed Badge

![Health badge](/badges/cirkut-ldap-connector/health.svg)

```
[![Health](https://phpackages.com/badges/cirkut-ldap-connector/health.svg)](https://phpackages.com/packages/cirkut-ldap-connector)
```

###  Alternatives

[lab404/laravel-impersonate

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

2.3k16.4M48](/packages/lab404-laravel-impersonate)

PHPackages © 2026

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