zendframework/zend-ldap
Zend LDAP provides PHP tools for LDAP directory operations like binding, searching, and modifying entries. This repository was abandoned on 2019-12-31 and has moved to laminas/laminas-ldap.
use RecursiveIteratorIterator;
use Zend\Ldap\Ldap;
$options = [/* ... */];
$ldap = new Ldap($options);
$ldap->bind();
$ri = new RecursiveIteratorIterator(
$ldap->getBaseNode(),
RecursiveIteratorIterator::SELF_FIRST
);
foreach ($ri as $rdn => $n) {
var_dump($n);
}
How can I help you explore Laravel packages today?