PHPackages                             smalot/ldap - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. smalot/ldap

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

smalot/ldap
===========

PHP library which handle LDAP data. Can parse too LDIF file.

v0.4(9y ago)8978↓83.3%2[2 issues](https://github.com/smalot/ldap/issues)MITPHPPHP &gt;=5.3.3

Since Apr 7Pushed 9y ago2 watchersCompare

[ Source](https://github.com/smalot/ldap)[ Packagist](https://packagist.org/packages/smalot/ldap)[ RSS](/packages/smalot-ldap/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (6)Used By (0)

LDAP
====

[](#ldap)

PHP library which handle LDAP data. Can parse too LDIF file.

Prerequisites
-------------

[](#prerequisites)

You need at least PHP 5.3.3 and LDAP php module enabled.

Installation
------------

[](#installation)

### Download project using composer

[](#download-project-using-composer)

Add LDAP in your composer.json:

```
{
    "require": {
        "smalot/ldap": "*"
    }
}
```

Now tell composer to download the bundle by running the command:

```
$ php composer.phar update smalot/ldap
```

Composer will install the bundle to your project's `smalot/ldap` directory.

Documentation
-------------

[](#documentation)

### Connect to LDAP server (simple)

[](#connect-to-ldap-server-simple)

```
