PHPackages                             apung/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. apung/ldap

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

apung/ldap
==========

Laravel

v0.0.1(11y ago)230BSD-3-ClausePHPPHP &gt;=5.3.3

Since Nov 29Pushed 11y ago1 watchersCompare

[ Source](https://github.com/apung/eldap)[ Packagist](https://packagist.org/packages/apung/ldap)[ RSS](/packages/apung-ldap/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Laravel and LDAP
----------------

[](#laravel-and-ldap)

[![Build Status](https://camo.githubusercontent.com/33b426c8a1f2c33204852de3770fb297821081b5edf3d6db3d418deae737db49/68747470733a2f2f7472617669732d63692e6f72672f6170756e672f656c6461702e737667)](https://travis-ci.org/apung/eldap)[![Total Downloads](https://camo.githubusercontent.com/53ec2f1cb3b6f90c2e8d3b3f055f48e2ab2263a0fb0e398e95525dad4b74f2d5/68747470733a2f2f706f7365722e707567782e6f72672f6170756e672f6c6461702f646f776e6c6f6164732e737667)](https://packagist.org/packages/apung/ldap)[![Latest Stable Version](https://camo.githubusercontent.com/6beae7ef2f357e4493d93ad9379d31e0222ba5045b1fd5dad720785551d6bc5f/68747470733a2f2f706f7365722e707567782e6f72672f6170756e672f6c6461702f762f737461626c652e737667)](https://packagist.org/packages/apung/ldap)[![Latest Unstable Version](https://camo.githubusercontent.com/67dceef779cbab3f8130fdeabf921c8e2925c58618ed8dad043ad274841a2c8f/68747470733a2f2f706f7365722e707567782e6f72672f6170756e672f6c6461702f762f756e737461626c652e737667)](https://packagist.org/packages/apung/ldap)[![License](https://camo.githubusercontent.com/203964c7ae21ec9b8dc7294ac622f4b20c70b784b2ccf75a298a007f2ab6792a/68747470733a2f2f706f7365722e707567782e6f72672f6170756e672f6c6461702f6c6963656e73652e737667)](https://packagist.org/packages/apung/ldap)

### Installing

[](#installing)

```
composer require apung\ldap

```

### Integrating

[](#integrating)

```
'providers' => array(
    ....
    'Apung\Ldap\LdapServiceProvider',
    ....
),

```

### Usage

[](#usage)

```
$options = array(
            'host'=>'ldap.example.com',
            'port'=>389,
            'base_dn'=>'dc=example,dc=com',
            'bind_rdn'=>'cn=admin,dc=example,dc=com',
            'bind_pw'=>'ManagerPassword!!!'
        );

$ldap = new \Apung\Ldap\Ldap($options);

//search person (which have uid) inside ou=people,dc=exampe,dc=com
$select = $ldap->select('uid')->from('ou=people,dc=example,dc=com')->where(array('uid'=>'*'))->get();

//like above, but return DN
$select = $ldap->select('uid')->from('ou=people,dc=example,dc=com')->where(array('uid'=>'*'))->withdn()->get();

//like above, but return all attributes (inside select statement)
$select = $ldap->select(array('uid','givenname'))->from('ou=people,dc=example,dc=com')->where(array('uid'=>'*'))->getAll();

```

### TODO

[](#todo)

TODO:

- CRUD (Create / Read / Update / Delete) statements
- Documentation

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4188d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab34f97350f2467f53b1f5b0112aa80d21833a2480017ab52093614b4b9596c5?d=identicon)[apung](/maintainers/apung)

---

Top Contributors

[![85degree](https://avatars.githubusercontent.com/u/386546?v=4)](https://github.com/85degree "85degree (6 commits)")[![Apung](https://avatars.githubusercontent.com/u/110328606?v=4)](https://github.com/Apung "Apung (1 commits)")

---

Tags

laravelldapopenldapphpldap

### Embed Badge

![Health badge](/badges/apung-ldap/health.svg)

```
[![Health](https://phpackages.com/badges/apung-ldap/health.svg)](https://phpackages.com/packages/apung-ldap)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[freedsx/ldap

A Pure PHP LDAP library

157142.4k2](/packages/freedsx-ldap)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[nedwors/navigator

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)[xefi/faker-php-laravel

Faker php integration with laravel

1915.1k](/packages/xefi-faker-php-laravel)[dcblogdev/laravel-junie

Install pre-configured guides for Jetbrains Junie

392.5k](/packages/dcblogdev-laravel-junie)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
