2017 © Pedro PelĂĄez
 

library php-ldapfilter

ldap filter api utility

image

jschaedl/php-ldapfilter

ldap filter api utility

  • Sunday, May 24, 2015
  • by jschaedl
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PHP LDAP Filter Library

This is a PHP library to create LDAP filters with a simple to use object oriented api. It is build for PHP 5.3+., (*1)

Build Status PHP Version, (*2)


API usage

LDAP filters

Currently, the library supports to create the following LDAP filters:, (*3)

Criterias Description Filter example
= equals to (firstname = Jan)
~ differs from (lastname ~ Schaedlich)
> more than (height > 1.6)
>= more or equals (height >= 1.6)
< less than (age < 20)
<= less or equals (age <= 20)
Operator Description Filter example
! not !(age<10)
& and &(name=Schaedlich)(firstname=Jan)
PIPE or PIPE(age<10)(male=true)
wildcards matches all &(firstname=J*)(name=Sch?)
types conforms to (objectClass=Person)

Example

..., (*4)

Unit Testing

This repository uses PHPUnit and Composer. For running Unit Tests you have to run composer install to install this package's dependencies. After that you can run the test via:, (*5)

phpunit -c tests/phpunit.xml tests/

Author

Jan SchÀdlich, (*6)

License

MIT Public License, (*7)

The Versions