Laravel 4 的一个 OpenLDAP 认证驱动程序。
2.6
2017-02-28 21:42 UTC
Requires
- php: >=5.3.0
- illuminate/support: ~5
This package is not auto-updated.
Last update: 2024-09-24 02:16:45 UTC
README
这是基于 Yuri Moens L4OpenLdap 提供者 开发的。
Laravel 4 的一个 OpenLDAP 认证驱动程序。
安装
将以下内容添加到您的 composer.json
文件中。
require { "mattbrown/ldapauth": "1.*" }
运行
.composer update
在 app/config/app.php
中
将 'Mattbrown\Ldapauth\LdapauthServiceProvider'
添加到 providers 数组中。
运行
composer dump-auto
打开 app/config/auth.php
并将认证驱动更改为 ldap
。
配置
运行 php artisan vendor:publish --provider="Mattbrown\Ldapauth\LdapauthServiceProvider"
,然后找到 app/config/ldap.php
并根据您的 LDAP 设置调整配置文件。
赚钱吧。