Download the PHP package newtondasilva/ldaptools without Composer
On this page you can find all versions of the php package newtondasilva/ldaptools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download newtondasilva/ldaptools
More information about newtondasilva/ldaptools
Files in newtondasilva/ldaptools
Package ldaptools
Short Description LdapTools is a feature-rich LDAP library for PHP 5.6+.
License MIT
Homepage http://www.phpldaptools.com
Informations about the package ldaptools
LdapTools

LdapTools is a feature-rich LDAP library for PHP 5.6+. It was designed to be customizable for use with pretty much any directory service, but contains default attribute converters and schemas for Active Directory and OpenLDAP.
- A fluent and easy to understand syntax for generating LDAP queries.
- Easily restore common LDAP objects (Users, Groups, Contacts, Computers, OUs).
- Retrieve LDAP objects as either a simple array or an object with automagic setters/getters.
- A logging mechanism for all LDAP operations
- An event system for further customization, extensibility, and integration.
- Parse and create LDIF files.
- View and modify Active Directory permissions.
Installation
The recommended way to install LdapTools is using Composer:
Getting Started
The easiest way to get started is by creating a YAML config file. See the example config file for basic usage. See the configuration file reference doc for a list of all available options.
Once you have a configuration file defined, you can get up and running by doing the following:
Searching LDAP
With the LdapManager
up and going you can now easily build LDAP queries without having to remember all the special
syntax for LDAP filters. All values are also automatically escaped. Check the tutorial for all
available methods and the cookbook for more query examples.
See the docs for more information on building LDAP queries.
Modifying LDAP Objects
Modifying LDAP is as easy as searching for the LDAP object as described above, then making changes directly to the object
and saving it back to LDAP using the LdapManager
.
See the docs for more information on modifying LDAP objects.
Deleting LDAP Objects
Deleting LDAP objects is a simple matter of searching for the object you want to remove, then passing it to the delete
method on the LdapManager
:
Creating LDAP Objects
Creating LDAP objects is easily performed by just passing what you want the attributes to be and what container/OU the object should end up in:
See the docs for more information on creating LDAP objects.
Documentation
Browse the docs folder for more information about LdapTools.
- Main Configuration Reference
- Schema Configuration
- Using the LdapManager
- Building LDAP Queries
- Creating LDAP Objects
- Modifying LDAP Objects
- LDIF files
- Active Directory Permissions
- Default Schema Attributes
- The Event System
TODO
Things that still need to be implemented:
- Automatic generation of the schema based off of information in LDAP.
- More work needed on the OpenLDAP schema.
All versions of ldaptools with dependencies
symfony/yaml Version >=2.0
symfony/event-dispatcher Version >=2.0
ramsey/uuid Version >=3.0