This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Extremely succinct object oriented LDAP client API

dev-master 2013-09-25 17:50 UTC

This package is auto-updated.

Last update: 2021-11-25 00:36:02 UTC


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.


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


Preferably via Composer.

Example usage

This example produces the same result as the example for LDAPi


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

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