PHPackages                             maenbn/ldaplookup - 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. [Framework](/categories/framework)
4. /
5. maenbn/ldaplookup

ActiveLibrary[Framework](/categories/framework)

maenbn/ldaplookup
=================

LdapLookup is a tool to lookup entries in LDAP For Laravel 5.1+

v1.2.1(10y ago)53.7k1MITPHPPHP &gt;=5.5.9

Since Jul 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/maen-bn/ldaplookup)[ Packagist](https://packagist.org/packages/maenbn/ldaplookup)[ RSS](/packages/maenbn-ldaplookup/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (3)Versions (9)Used By (0)

LDAP Lookup
===========

[](#ldap-lookup)

================= LDAP lookup is a simple LDAP entries lookup provider for use with in Laravel 5.1 +

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

[](#installation)

The tool requires you have [PHP](https://php.net) 5.5.9+ and [Composer](https://getcomposer.org).

To get the version of LDAP lookup that works with Laravel 5.1, add the following line to your `composer.json` file:

```
"maenbn/ldaplookup": "1.1.*"

```

Other wise for Laravel 5.2 add the following instead:

```
"maenbn/ldaplookup": "1.2.*"

```

Then run `composer install` or `composer update` to install.

You will also need to register the service provider by going into `config/app.php` and add the following to the `providers` key:

```
'Maenbn\LdapLookup\LdapLookupServiceProvider'

```

And you can also register the facade in the `aliases key in the same file like so:

```
'LdapLookup' => 'Maenbn\LdapLookup\Facades\LdapLookup'

```

Configuration
-------------

[](#configuration)

A configuration for your LDAP server is required for the LdapLookup to work. First publish all vendor assets:

```
$ php artisan vendor:publish
```

which will create a `config/ldaplookup.php` file in your app where you can modify it to reflect your LDAP server `hostname`, `port`, `baseDn`, `bindRdn`, and `bindPassword`. You can also specify options in an array for your LDAP connection via the `options` key in the config file.

Add the following lines in your `.env` file:

```
LDAP_HOSTNAME=ldap.domain.com
LDAP_BASE_DN=dc=domain,dc=com
LDAP_BIND_RDN=cn=admin,dc=domain,dc=com
LDAP_BIND_PASSWORD=admin
LDAP_VERSION=3
```

Usage
-----

[](#usage)

You can search for an indivdual user by carrying out the following:

```
//Find the user with the test123 username
LdapLookup::getByUid('test123'); // will return an array
```

You can also run your own custom search by doing the following:

```
LdapLookup::runSearch('mail=test*','first'); // will return first entry
LdapLookup::runSearch('mail=test*'); // will return all entries
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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

Every ~49 days

Recently: every ~0 days

Total

8

Last Release

3654d ago

PHP version history (2 changes)v1.0PHP &gt;=5.4.0

v1.1.0PHP &gt;=5.5.9

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8006284?v=4)[Ben Norcombe](/maintainers/maen-bn)[@maen-bn](https://github.com/maen-bn)

---

Top Contributors

[![maen-bn](https://avatars.githubusercontent.com/u/8006284?v=4)](https://github.com/maen-bn "maen-bn (20 commits)")[![brunowego](https://avatars.githubusercontent.com/u/441774?v=4)](https://github.com/brunowego "brunowego (4 commits)")

---

Tags

frameworklaravelldaplookupBen NorcombeBenNorcombeldap lookupLdapLookupLaravel LdapLookup

### Embed Badge

![Health badge](/badges/maenbn-ldaplookup/health.svg)

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

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M305](/packages/laravel-horizon)[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k108.5M885](/packages/laravel-socialite)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M150](/packages/laravel-mcp)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k21.5M587](/packages/laravel-boost)

PHPackages © 2026

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