2017 © Pedro Peláez
 

library simpleldap

Extremely succinct object oriented LDAP client API

image

daverandom/simpleldap

Extremely succinct object oriented LDAP client API

  • Tuesday, March 24, 2015
  • by DaveRandom
  • Repository
  • 1 Watchers
  • 1 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SimpleLDAP

An extremely succinct object oriented LDAP client API for PHP. Uses some dirty tricks to make code that consumes LDAP directories a lot shorter to write, while (hopefully) remaining fairly readable., (*1)

Requirements

  • PHP 5.4.0 or higher
  • ext/ldap
  • The LDAPi library

Installation

Preferably via Composer., (*2)

Example usage

This example produces the same result as the example for LDAPi, (*3)

<?php

$link = (new SimpleLDAP\DirectoryFactory)->create('ldap://Manager:managerpassword@127.0.0.1:389');

foreach ($link->search('cn=Users', 'objectClass=User', ['cn']) as $entry) {
    print_r($entry->getAttributes());
}

The Versions

24/03 2015

1.0.x-dev

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

Extremely succinct object oriented LDAP client API

  Sources   Download

MIT

The Requires

 

The Development Requires

ldap

25/09 2013

dev-master

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

Extremely succinct object oriented LDAP client API

  Sources   Download

MIT

The Requires

 

ldap