php-extended / php-ldap-filter-parser-object
This package is abandoned and no longer maintained.
The author suggests using the php-extended/php-ldap-filter-object package instead.
An implementation of the php-extended/php-ldap-filter-parser-interface library
4.0.15
2021-06-25 18:14 UTC
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).