nonzod / yii2-zend-ldap
yii2 ldap extention (wrapper for zendframework/zend-ldap Module)
Package info
github.com/nonzod/yii2-zend-ldap
Type:yii2-extension
pkg:composer/nonzod/yii2-zend-ldap
0.0.7
2016-04-12 00:00 UTC
Requires
- yiisoft/yii2: *
- zendframework/zend-ldap: ~2.7.0
This package is not auto-updated.
Last update: 2026-03-15 04:44:01 UTC
README
Requirements
- Yii2
- LDAP support in PHP
Usage
The preferred way to install this extension is through Composer.
Either run
php composer.phar require nonzod/yii2-zend-ldap "0.0.7"
or add
"nonzod/yii2-zend-ldap": ">=0.0.7"
to the require section of your composer.json
Configuration
<?php ... 'components' => [ 'ldap' => [ 'class' => 'nonzod\Ldap', 'config' => [ 'host' => 'localhost', 'port' => 389, 'username' => 'CN=admin,DC=example,DC=com', 'password' => 'SuperSecretPassword', 'bindRequiresDn' => true, 'baseDn' => 'OU=People,DC=example,DC=com', 'accountDomainName' => 'example.com' ] ], ...
##Resources
THANKS TO: "Matthias Maderer" this module is inspired by his project "edvlerblog/yii2-adldap-module"