2017 © Pedro Peláez
 

library ldap

Laravel

image

apung/ldap

Laravel

  • Wednesday, December 3, 2014
  • by apung
  • Repository
  • 1 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Laravel and LDAP

Build Status Total Downloads Latest Stable Version Latest Unstable Version License, (*1)

Installing

composer require apung\ldap

Integrating

'providers' => array(
    ....
    'Apung\Ldap\LdapServiceProvider',
    ....
),

Usage

$options = array(
            'host'=>'ldap.example.com',
            'port'=>389,
            'base_dn'=>'dc=example,dc=com',
            'bind_rdn'=>'cn=admin,dc=example,dc=com',
            'bind_pw'=>'ManagerPassword!!!'
        );

$ldap = new \Apung\Ldap\Ldap($options);

//search person (which have uid) inside ou=people,dc=exampe,dc=com
$select = $ldap->select('uid')->from('ou=people,dc=example,dc=com')->where(array('uid'=>'*'))->get();

//like above, but return DN
$select = $ldap->select('uid')->from('ou=people,dc=example,dc=com')->where(array('uid'=>'*'))->withdn()->get();

//like above, but return all attributes (inside select statement)
$select = $ldap->select(array('uid','givenname'))->from('ou=people,dc=example,dc=com')->where(array('uid'=>'*'))->getAll();

TODO

TODO: * CRUD (Create / Read / Update / Delete) statements * Documentation, (*2)

The Versions

03/12 2014

dev-develop

dev-develop

Laravel

  Sources   Download

BSD-3-Clause

The Requires

 

by Abdul Gaffur A Dama

laravel ldap openldap phpldap

03/12 2014

dev-master

9999999-dev

Laravel

  Sources   Download

BSD-3-Clause

The Requires

 

by Abdul Gaffur A Dama

laravel ldap openldap phpldap

29/11 2014

v0.0.1

0.0.1.0

Laravel

  Sources   Download

BSD-3-Clause

The Requires

 

by Abdul Gaffur A Dama

laravel ldap openldap phpldap