Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Zend Ldap Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Object-oriented access to the LDAP tree using Zend\Ldap\Node

Basic CRUD operations

Retrieving data from the LDAP

  • TODO

Getting a node by its DN

  • TODO

Searching a node's subtree

  • TODO

Adding a new node to the LDAP

  • TODO

Deleting a node from the LDAP

  • TODO

Updating a node on the LDAP

  • TODO

Extended operations

Copy and move nodes in the LDAP

  • TODO

Tree traversal

Traverse LDAP tree recursively

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);
}
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4