Download the PHP package daverandom/ldapi without Composer
On this page you can find all versions of the php package daverandom/ldapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download daverandom/ldapi
More information about daverandom/ldapi
Files in daverandom/ldapi
Download daverandom/ldapi
More information about daverandom/ldapi
Files in daverandom/ldapi
Vendor daverandom
Package ldapi
Short Description Simple object oriented wrapper around ext/ldap
License MIT
Homepage https://github.com/DaveRandom/LDAPi
Package ldapi
Short Description Simple object oriented wrapper around ext/ldap
License MIT
Homepage https://github.com/DaveRandom/LDAPi
Keywords ldap
Please rate this library. Is it a good library?
Informations about the package ldapi
LDAPi
A simple object oriented wrapper around PHP's LDAP extension. No frills, just a slightly cleaner API for use in object oriented applications.
Requirements
- PHP 5.4.0 or higher
- ext/ldap
Installation
Preferably via Composer.
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());
}
All versions of ldapi with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
ext-ldap Version *
ext-ldap Version *
The package daverandom/ldapi contains the following files
Loading the files please wait ....