samkoch/yii2-ldap
Composer 安装命令:
composer require samkoch/yii2-ldap
包简介
Yii2 LDAP helper class
关键字:
README 文档
README
Yii2 LDAP helper class
Installation
The PECL mbstring extension is required.
It is recommended to use composer to install the library.
$ composer require samkoch/yii2-ldap
Using Ldap as a Yii component (Yii::$app->ldap)
Put the following in you application configuration (web.php and/or console.php)
<?php
$config = [
...
'ldap' => [
'class' => 'samkoch/yii2ldap/Ldap',
'config' => [
'host' => 'ldap.example.com',
'port' => '389',
'domain' => 'exampledomain',
'baseDn' => 'DC=example,
'username' => 'user',
'password' => 'pass',
],
],
...
?>
统计信息
- 总下载量: 161
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-14