PHPackages                             rakoitde/shieldldap - 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. rakoitde/shieldldap

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

rakoitde/shieldldap
===================

LDAP Authentication and Authorization for CodeIgniter 4

71074[1 issues](https://github.com/rakoitde/ci4-shield-ldap/issues)[2 PRs](https://github.com/rakoitde/ci4-shield-ldap/pulls)PHP

Since Oct 12Pushed 1y ago3 watchersCompare

[ Source](https://github.com/rakoitde/ci4-shield-ldap)[ Packagist](https://packagist.org/packages/rakoitde/shieldldap)[ RSS](/packages/rakoitde-shieldldap/feed)WikiDiscussions develop Synced today

READMEChangelogDependenciesVersions (4)Used By (0)

CodeIgniter ShieldLDAP
======================

[](#codeigniter-shieldldap)

ShieldLDAP is an CodeIgniter Shield Addon to authenticate against an LDAP Server.

See the [An Official Auth Library](https://github.com/codeigniter4/shield/blob/develop/README.md) for more Info.

Authentication Methods
----------------------

[](#authentication-methods)

ShieldLDAP provides the **LDAP-based** method.

### LDAP

[](#ldap)

This is your typical username/password system you see everywhere. It includes a secure "remember me" functionality. This can be used for standard web applications, as well as for single page applications. Includes full controllers and basic views for all standard functionality, like registration, login, forgot password, etc.

Getting Started
---------------

[](#getting-started)

### Prerequisites

[](#prerequisites)

Usage of Shield requires the following:

- A [CodeIgniter 4.3.5+](https://github.com/codeigniter4/CodeIgniter4/) based project
- [Composer](https://getcomposer.org/) for package management
- PHP 7.4.3+

### Installation

[](#installation)

Installation is done through Composer.

```
composer config minimum-stability dev
composer config prefer-stable true

composer require rakoitde/shieldldap dev-develop
```

### Setup

[](#setup)

```
php spark shield:setup
php spark shieldldap:setup
```

### Config AuthLdap in .env

[](#config-authldap-in-env)

It is recommended that the AuthLdap settings are made in the .env to prevent internal company information from becoming public

```
#--------------------------------------------------------------------
# Shield AuthLdap
#--------------------------------------------------------------------

authldap.ldap_host              =
authldap.ldap_domain            =
authldap.search_base            =
authldap.storePasswordInSession = false
authldap.use_ldaps              = true
authldap.username               =
authldap.password               =
```

See the (docs)\[docs\] for more specific instructions on installation and usage recommendations.

Contributing
------------

[](#contributing)

ShieldLDAP does accept and encourage contributions from the community in any shape. It doesn't matter whether you can code, write documentation, or help find bugs, all contributions are welcome.

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1dad85f565da1e51b8fa10fff584c79809e07cdb66466cb5dd7244d59948649a?d=identicon)[rakoitde@gmail.com](/maintainers/rakoitde@gmail.com)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/rakoitde-shieldldap/health.svg)

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.3M17](/packages/kartik-v-yii2-password)[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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