LaravelPackages.net
Acme Inc.
Toggle sidebar
ykocaman/laravel-ldapauth

Basic ldap authentication for laravel

62
2
0.0.2
About ykocaman/laravel-ldapauth

ykocaman/laravel-ldapauth is a Laravel package for basic ldap authentication for laravel. It currently has 2 GitHub stars and 62 downloads on Packagist (latest version 0.0.2). Install it with composer require ykocaman/laravel-ldapauth. Discover more Laravel packages by ykocaman or browse all Laravel packages to compare alternatives.

Last updated

laravel-ldapauth

Latest Version on Packagist Software License Total Downloads

This is LDAP authentication package for Laravel 5.5

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

Please see CHANGELOG for more information on what has changed recently.

Security

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

License

The MIT License (MIT). Please see License File for more information.

Comments