yii2-zend-ldap Yii2 extension for Zend LDAP

Yii2 Zend Ldap wrapper

  1. Requirements
  2. Usage
  3. Resources

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

'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

0 0
1 follower
117 downloads
Yii Version: 2.0
License: BSD-2-Clause
Category: Database
Tags: ldap, yii2, zend
Developed by: Nicola
Created on: Jun 14, 2016
Last updated: 8 years ago

Downloads

show all

Related Extensions