lucasvscn / laravel-ldap-auth by lucasvscn

LDAP driver for Laravel auth.
81
1
1
Package Data
Maintainer Username: lucasvscn
Maintainer Contact: lucas@vscn.co (Lucas Vasconcelos)
Package Create Date: 2017-02-22
Package Last Update: 2017-05-03
Language: PHP
License: MIT
Last Refreshed: 2019-11-10 15:20:31
Package Statistics
Total Downloads: 81
Monthly Downloads: 3
Daily Downloads: 0
Total Stars: 1
Total Watchers: 1
Total Forks: 1
Total Open Issues: 0

Laravel LDAP Auth

Simple Laravel auth driver for LDAP.

Allows to connect into a LDAPv3.0 server to check user's credentials.

Install

Add service provider to file config/app.php

LucasVscn\LDAP\ServiceProvider::class,

Change your config/auth.php to work with 'ldap' driver:

'providers' => [

    'users' => [
        'driver' => 'ldap',
        'model' => App\User::class,
        'host' => '0.0.0.0',
        'domain' => 'yourdomain.com.br',
    ],
],