Download the PHP package arvindh93/cakephp-ldap-utility without Composer
On this page you can find all versions of the php package arvindh93/cakephp-ldap-utility. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download arvindh93/cakephp-ldap-utility
More information about arvindh93/cakephp-ldap-utility
Files in arvindh93/cakephp-ldap-utility
Download arvindh93/cakephp-ldap-utility
More information about arvindh93/cakephp-ldap-utility
Files in arvindh93/cakephp-ldap-utility
Vendor arvindh93
Package cakephp-ldap-utility
Short Description Cakephp-ldap-utility plugin for CakePHP
License
Package cakephp-ldap-utility
Short Description Cakephp-ldap-utility plugin for CakePHP
License
Please rate this library. Is it a good library?
Informations about the package cakephp-ldap-utility
Cakephp-ldap-auth plugin for CakePHP
Requirements
- CakePHP 3.1+
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
Usage
In your app's config/bootstrap.php
add:
or using cake's console:
Configuration:
Basic configuration for creating ldap handler instance
Setup Ldap authentication config in Controller
Usage:
Creating Query object for Search/Read operation:
Search - $ldapHandler->search() Read - $ldapHandler->read()
Operations on query object:
select() - accepts an array of attributes to fetch from ldap entry
setBaseDn() - accepts baseDn string defaults to config - baseDn
where() - accepts filter string
first() - execute the query and get the first entry details as array
all() - executes the query and get all the possible entries as array
Example:
Search for entry with cn starting with test
Search for entry with cn starting with test and get first entry
Read a particular entry with cn=test.user
All versions of cakephp-ldap-utility with dependencies
PHP Build Version
Package Version
The package arvindh93/cakephp-ldap-utility contains the following files
Loading the files please wait ....