PHPackages                             maximilianoraul/yii2-openldap-user - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. maximilianoraul/yii2-openldap-user

ActiveYii2-extension[Authentication &amp; Authorization](/categories/authentication)

maximilianoraul/yii2-openldap-user
==================================

Enable the use of OpenLDAP to authenticate users

0.0.4(4y ago)05GPL-3.0PHP

Since Sep 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/maximilianoraul/yii2-openldap-user)[ Packagist](https://packagist.org/packages/maximilianoraul/yii2-openldap-user)[ RSS](/packages/maximilianoraul-yii2-openldap-user/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Yii2 OpenLDAP Auth
==================

[](#yii2-openldap-auth)

Enable the use of OpenLDAP to authenticate users

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require maximilianoraul/yii2-openldap-user "*"

```

or add

```
"maximilianoraul/yii2-openldap-user": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by:

Add in your config (`config/web.php` for the basic app):

```
    'components' => [
        //...
        'user' => [
            'identityClass' => 'MaximilianoRaul\OpenLdap\model\User',
        ],
        //...
        'openldap' => [
            'class' => 'MaximilianoRaul\OpenLdap\Openldap',
            'host' => "ldap.example.int",
            'protocol' => "ldap",
            'port' => 389,
            'baseDn' => "dc=example,dc=int",
            'ldapVersion' => 3,
        ],
        //...
```

```
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

4

Last Release

1688d ago

### Community

Maintainers

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

---

Top Contributors

[![maximilianoraul](https://avatars.githubusercontent.com/u/10207513?v=4)](https://github.com/maximilianoraul "maximilianoraul (6 commits)")

---

Tags

authyii2openldap

### Embed Badge

![Health badge](/badges/maximilianoraul-yii2-openldap-user/health.svg)

```
[![Health](https://phpackages.com/badges/maximilianoraul-yii2-openldap-user/health.svg)](https://phpackages.com/packages/maximilianoraul-yii2-openldap-user)
```

###  Alternatives

[kakadu-dev/yii2-jwt-auth

Extension provide JWT auth for Yii2

105.8k](/packages/kakadu-dev-yii2-jwt-auth)

PHPackages © 2026

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