PHPackages                             miniorangedev/moldap - 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. miniorangedev/moldap

ActiveCraft-plugin[Authentication &amp; Authorization](/categories/authentication)

miniorangedev/moldap
====================

LDAP/Active Directory Integration for Craft CMS

1.0.1(3y ago)06MITPHP

Since Dec 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/miniOrangeDev/moldap)[ Packagist](https://packagist.org/packages/miniorangedev/moldap)[ RSS](/packages/miniorangedev-moldap/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

LDAP/Active Directory Integration plugin for Craft CMS 3.x or 4.x
=================================================================

[](#ldapactive-directory-integration-plugin-for-craft-cms-3x-or-4x)

LDAP/Active Directory Integration

[![Screenshot](resources/img/miniorange.png)](resources/img/miniorange.png)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require miniorangedev/moldap

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for miniOrange LDAP/Active Directory Integration.

LDAP/Active Directory Integration Overview
------------------------------------------

[](#ldapactive-directory-integration-overview)

**miniOrange LDAP / Active Directory Integration** Plugin for Craft CMS allows you to login into your website using the credentials which are stored in your LDAP Server / Active Directory. This plugin provides a simple and secure method of LDAP authentication that is suitable for users with personal websites as well as enterprises with a significant number of users saved in their Active Directory.

**The LDAP Authentication can be performed on various Active Directory / Other LDAP Server such as:**

1. Microsoft Active Directory
2. Azure Active Directory
3. Sun Active Directory
4. OpenLDAP Directory
5. JumpCloud
6. FreeIPA Directory
7. Synology
8. OpenDS and other LDAP directories.

Configuring LDAP/Active Directory Integration
---------------------------------------------

[](#configuring-ldapactive-directory-integration)

Just add a couple of lines in your Login twig template and Users will be able to login using LDAP/ Active Directory credentials Replace the actionInput with the code given into the required .twig file.
`{{ actionInput('moldap/login/ldaplogin') }}`

LDAP/Active Directory Integration Features
------------------------------------------

[](#ldapactive-directory-integration-features)

- **LDAP Authentication** : Enable LDAP Authentication for any users present in your Active Directory/LDAP Servers into the Craft Website. This plugin is compatible with most of the directories supporting LDAP protocol i.e. Microsoft Active Directory, Azure Active Directory Domain Services (LDAPS), OpenLDAP, FreeIPA and many more.
- **Login With Any LDAP Attribute of Your Choice** : Authenticate users against any one LDAP/AD username attributes like sAMAccountName, UID, UserPrincipalName, mail, cn or any other custom LDAP attribute(s) of your choice.
- **Automatic User Registration in Craft** : Automatically register / create users in Craft on the first login of LDAP users in the Craft website.
- **Authenticate Users from LDAP and Craft** : Allow all users on your Craft Website to log in even if they are not present in the LDAP/Active Directory.
- **LDAPS (LDAP Secure Connection) support** : Supports secure connection between Craft and Active Directory/LDAP server via LDAPS protocol, this ensures protection against credential theft.
- **User Profile Sync upon Login** : Keep the Craft User’s profile information in sync with the Active Directory/other LDAP Directories upon authentication.
- Test connection to your Active Directory/other LDAP Directory while configuring LDAP server information in the plugin.
- Test authentication using credentials stored in your Active Directory/other LDAP Directory after configuring LDAP server information in the plugin with the latest versions of Craft.
- Compatible with the Craft versions (**3.x and above**) and latest version of **PHP**.

#### Premium Features :

[](#premium-features-)

- **Authenticate Users from Multiple LDAP Search Bases** : Authenticate users against multiple search bases (organizational units) from your Active Directory/other LDAP Directories.
- **Attribute Mapping** : Map the LDAP/Active Directory attributes to the Craft user profile and sync upon every successful LDAP / AD Login. Configure and fetch the LDAP/AD attributes such as UID, cn (common name), mail, telephoneNumber, givenName, sn, sAMAccountName.
- **Multiple Username attributes** : Authenticate users against multiple LDAP/AD username attributes like sAMAccountName, UID, UserPrincipalName, mail, cn or any other custom LDAP attribute(s) of your choice.
- **Restrict / Allow local craft users to Login** : You can allow or restrict the access to users present in your local crafts website and not in Active Directory / LDAP Server.
- **Priority Support** : Get high priority support from our team of dedicated developers on purchase of premium plugins for any technical issues you face.

Check out our [website](miniorange.com) for other products we offer.

If you have any queries or need any sort of assistance , you can reach out to us at [ldapsupport@xecurify.com](ldapsupport@xecurify.com) or [Contact Us](https://www.miniorange.com/contact). Our customer support team is available **24x7** to assist you in any way possible.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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 ~1 days

Total

2

Last Release

1256d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9eeed4a6762c4cd395b5c508453e5fd5682064406836182fecfc917c211283b3?d=identicon)[miniorange](/maintainers/miniorange)

---

Top Contributors

[![miniOrangeDev](https://avatars.githubusercontent.com/u/12458201?v=4)](https://github.com/miniOrangeDev "miniOrangeDev (10 commits)")

---

Tags

Authenticationldapactive directorycraft-pluginactive directory integrationLDAP Plugin

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/miniorangedev-moldap/health.svg)

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

###  Alternatives

[causal/ig_ldap_sso_auth

This extension provides LDAP support for TYPO3 by delegating the authentication of frontend and/or backend users to the centrally-managed directory of your organization. It fully supports OpenLDAP and Active Directory and is capable of connecting securely to the authentication server using either TLS or SSL (ldaps://). In case of use in an intranet environment, this extension is a perfect match since it natively brings Single Sign-On (SSO) capability to TYPO3 without any complex configuration.

33377.4k](/packages/causal-ig-ldap-sso-auth)[edvlerblog/yii2-adldap-module

yii2 Active Directory implementation (wrapper for Adldap2)

51227.3k](/packages/edvlerblog-yii2-adldap-module)[ldaptools/ldaptools-bundle

Provides easy LDAP integration for Symfony via LdapTools.

49159.5k](/packages/ldaptools-ldaptools-bundle)[jotaelesalinas/laravel-adminless-ldap-auth

Authenticate users in Laravel against an adminless LDAP server

2105.1k](/packages/jotaelesalinas-laravel-adminless-ldap-auth)[jamesedmonston/graphql-authentication

GraphQL authentication for your headless Craft CMS applications.

2917.0k](/packages/jamesedmonston-graphql-authentication)[chrmorandi/yii2-ldap

Ldap

1453.1k](/packages/chrmorandi-yii2-ldap)

PHPackages © 2026

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