承接 lilweb/ldap-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lilweb/ldap-bundle

最新稳定版本:0.1.1

Composer 安装命令:

composer require lilweb/ldap-bundle

包简介

LDAP acces library

README 文档

README

This bundle helps connecting to an existing LDAP server.

Installation

Add the dependency to your composer.json file :

"lilweb/ldap-bundle" : "0.1.0"

Add the bundle to AppKernel.php :

new Lilweb\LdapBundle\LilwebLdapBundle(),

Configuration

Add the following to your config.yml file :

lilweb_ldap:
    host: %ldap_client_host%
    port: %ldap_client_port%
    username: %ldap_client_username%
    password: %ldap_client_password%
    version: %ldap_client_version%

Usage

A new service called lilweb.ldap_connection is now available in your container.

Example :

$entries = $this
    ->ldapConnection
    ->search(
        array(
            'base_dn' => $this->params['base_dn'],
            'filter'  => sprintf('(&%s(%s=%s))', $filter, $this->params['name_attribute'], $this->ldapConnection->escape($username))
        )
    );

Technical information

  • The connection is not made until a method on the connection is called.
  • This bundle requires the PHP-ldap extension

统计信息

  • 总下载量: 3.9k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-08-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固