Search by

gizmocraft / zendframework1-ldap

gizmocraft

Zend Framework 1 Ldap component

Package info

github.com/gizmocraftcom/zf1-ldap

Homepage

pkg:composer/gizmocraft/zendframework1-ldap

Statistics

Installs: 21

Dependents: 3

Suggesters: 0

Stars: 0

2.0.0 2026-11-24 11:40 UTC

This package is auto-updated.

Last update: 2026-11-25 14:32:15 UTC


README

Build Latest Stable Version Total Downloads License

This is just the Zend_Ldap component extracted from our fork of the Zend Framework 1 repo (https://github.com/gizmocraftcom/zf1).

Forked from https://github.com/diablomedia/zf1-ldap, adapted for PHP 8.5 and 8.6.

Notes

  • Requires ext-ldap. Connection and result handles are LDAP\Connection/LDAP\Result objects (PHP 8.1+); Zend_Ldap::getResource() returns an LDAP\Connection.
  • Sorting search results (the $sort argument of Zend_Ldap::search()/searchEntries() and the sort option; reverseSort alone still reverses the result order) needs ldap_sort(), which was removed in PHP 8.0. Passing a sort attribute throws Zend_Ldap_Exception; sort the returned entries in PHP instead.
  • The online tests need an LDAP server and are skipped unless TESTS_ZEND_LDAP_ONLINE_ENABLED and the other TESTS_ZEND_LDAP_* constants are set (for example in a local copy of phpunit.xml.dist). Originally forked from the upstream repository https://github.com/diablomedia/zf1-ldap. Copyright and license of the original authors are kept in LICENSE.txt.