2017 © Pedro Peláez
 

library ldapi

Simple object oriented wrapper around ext/ldap

image

daverandom/ldapi

Simple object oriented wrapper around ext/ldap

  • Monday, June 8, 2015
  • by DaveRandom
  • Repository
  • 1 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

LDAPi

A simple object oriented wrapper around PHP's LDAP extension. No frills, just a slightly cleaner API for use in object oriented applications., (*1)

Requirements

  • PHP 5.4.0 or higher
  • ext/ldap

Installation

Preferably via Composer., (*2)

Example usage

<?php

$link = new LDAPi\Directory;

try {
    $link->connect('127.0.0.1', 389);
    $link->bind('Manager', 'managerpassword');

    $result = $link->search('cn=Users', 'objectClass=User', ['cn']);

    $entry = $result->firstEntry();
    do {
        print_r($entry->getAttributes());
    } while($entry = $entry->nextEntry());
} catch(LDAPi\DirectoryOperationFailureException $e) {
    exit('An error occurred: ' . $e->getMessage());
}

The Versions

08/06 2015

v1.0.3

1.0.3.0 https://github.com/DaveRandom/LDAPi

Simple object oriented wrapper around ext/ldap

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-ldap *

 

ldap

08/06 2015

dev-master

9999999-dev https://github.com/DaveRandom/LDAPi

Simple object oriented wrapper around ext/ldap

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-ldap *

 

ldap

08/06 2015

1.0.x-dev

1.0.9999999.9999999-dev https://github.com/DaveRandom/LDAPi

Simple object oriented wrapper around ext/ldap

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-ldap *

 

ldap

24/03 2015

v1.0.2

1.0.2.0 https://github.com/DaveRandom/LDAPi

Simple object oriented wrapper around ext/ldap

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-ldap *

 

ldap

02/10 2013

1.0.1

1.0.1.0 https://github.com/DaveRandom/LDAPi

Simple object oriented wrapper around ext/ldap

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-ldap *

 

ldap

25/09 2013

1.0.0

1.0.0.0 https://github.com/DaveRandom/LDAPi

Simple object oriented wrapper around ext/ldap

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-ldap *

 

ldap