PHPackages                             ykocaman/laravel-ldapauth - 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. ykocaman/laravel-ldapauth

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

ykocaman/laravel-ldapauth
=========================

Basic ldap authentication for laravel

0.0.2(8y ago)262MITPHPPHP ~5.6|~7.0

Since Feb 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ykocaman/laravel-ldapauth)[ Packagist](https://packagist.org/packages/ykocaman/laravel-ldapauth)[ Docs](https://github.com/Ykocaman/LdapAuth)[ RSS](/packages/ykocaman-laravel-ldapauth/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

laravel-ldapauth
================

[](#laravel-ldapauth)

[![Latest Version on Packagist](https://camo.githubusercontent.com/767dd13a52af68471df850adb3768d7c5ff1bc9e3f0ecdca1787dbc49fff99c8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796b6f63616d616e2f6c61726176656c2d6c646170617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ykocaman/laravel-ldapauth)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/63c0bf92feb9571d7ef8e528dc058cd459619930250c2975e8b96911d3db2114/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f796b6f63616d616e2f6c61726176656c2d6c646170617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ykocaman/laravel-ldapauth)

This is LDAP authentication package for **Laravel 5.5**

Install
-------

[](#install)

1- Via Composer

```
$ composer require "ykocaman/laravel-ldapauth:0.*"
```

2- After installing, copy config and migration file to root.

```
$ php artisan vendor:publish
```

3- Run migrate function

```
$ php artisan migrate
```

4- For ldap connection parameters, edit `app/config/ldapauth.php` or add to `.env` (there is an example .env in config directory)

5- Set `driver` of provider from `eloquent` to `ldap` at `app/config/auth.php` (line 69)

```
67.  'providers' => [
68.      'users' => [
69.        'driver' => 'ldap',
70.        'model' => App\User::class,
71.    ],

```

6- That's all.

Note: You can change `login_type` of any user which you want to `normal` for standart login at `users` table in database.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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 ~0 days

Total

2

Last Release

3060d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4112482?v=4)[Yusuf Kocaman](/maintainers/ykocaman)[@ykocaman](https://github.com/ykocaman)

---

Top Contributors

[![ykocaman](https://avatars.githubusercontent.com/u/4112482?v=4)](https://github.com/ykocaman "ykocaman (2 commits)")

---

Tags

authenticationlaravelldapldap-authenticationlaravelAuthenticationldapLdapAuth

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/ykocaman-laravel-ldapauth/health.svg)

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

###  Alternatives

[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5742.2M17](/packages/directorytree-ldaprecord-laravel)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6753.6k5](/packages/hasinhayder-tyro)[alajusticia/laravel-logins

Session management in Laravel apps, user notifications on new access, support for multiple separate remember tokens, IP geolocation, User-Agent parser

2013.2k](/packages/alajusticia-laravel-logins)

PHPackages © 2026

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