php-extended / php-ldap-filter-parser-object
An implementation of the php-extended/php-ldap-filter-parser-interface library
Installs: 81 880
Dependents: 0
Suggesters: 0
Security: 0
pkg:composer/php-extended/php-ldap-filter-parser-object
Requires
Requires (Dev)
README
An implementation of the php-extended/php-ldap-filter-parser-interface library.
Installation
The installation of this library is made via composer.
Download composer.phar
from their website.
Then add to your composer.json :
"require": {
...
"php-extended/php-ldap-filter-parser-object": "^4"
...
}
Then run php composer.phar update
to install this library.
The autoloading of all classes of this library is made through composer's autoloader.
Basic Usage
This library creates dn with the following constructor :
use PhpExtended\Ldap\LdapFilterParser;
$parser = new LdapFilterParser();
$ldn = $parser->parseString('(&(objectClass=Person)(sn=John)(cn=Snow))');
// $ldn instanceof LdapFilterNodeMultiInterface AND node with
// three children which are each one of the nodes
License
MIT (See license file).