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

ActiveLibrary

vionox/sentinel-ldap
====================

06PHP

Since Aug 16Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Sentinel LDAP Addon
===================

[](#sentinel-ldap-addon)

[![Build Status](https://camo.githubusercontent.com/58f5a452ece6c75894554713011d2728ff7859491d183999211773e3438140dd/68747470733a2f2f7472617669732d63692e6f72672f76696f6e6f782f73656e74696e656c2d6c6461702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/vionox/sentinel-ldap)

Sentinel LDAP is a Cartalyst `Sentinel` addon and lets you authenticate your users using LDAP (Active Directory).

The package requires PHP 5.4+ and comes bundled with a Laravel 4 Facade and a Service Provider to simplify the optional framework integration and follows the FIG standard PSR-4 to ensure a high level of interoperability between shared PHP code. The package also requires that you have [php5-ldap](http://php.net/manual/en/book.ldap.php) extension installed in your server.

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

[](#installation)

Sentinel LDAP is installable with Composer. Follow the instructions below

1. Copy the following line in your composer.json "require" section.

"xversial/sentinel-ldap": "dev-master",

2. Run composer update
3. Run php artisan config:publish vionox/sentinel-ldap
4. Open app/config/packages/vionox/sentinel-ldap/config.php and populate the parameters
5. Open app/config/app.php and include 'VIONOX\\Sentinel\\Addons\\Ldap\\Laravel\\LdapServiceProvider' in providers array and 'LDAP' =&gt; 'VIONOX\\Sentinel\\Addons\\Ldap\\Laravel\\Facades\\Ldap' in aliases array
6. To enable LDAP login use LDAP::authenticate instead of using Sentinel::authenticate.

Thats it. Have fun.

Config Parameters
-----------------

[](#config-parameters)

```
'ldap' => [

	'host' => 'ldaps://yourcompany.com:3269', // This is the ldap host  preferable a Global Catalog if you have multiple ldap servers. Also prepend :port if you are using a url instead of hostname (php5-ldap requirement as it will ignore the port parameter while using URL)

	'port' => 389, // port number while using hostname instead of url

	'search_user_dn' => 'CN=Some User,OU=SomeGroup,OU=SomeGroup,DC=yourcompany,DC=com', // search user - ask your ldap adminstrator for this

	'search_base' => 'DC=yourcompany,DC=com', // usually root of your domain

	'login_attribute' => 'sAMAccountName',  // currently unused

	'search_password' => 'yourpassword', // password for the search user - ask your ldap administrator

],

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/56e33d756da4e493db5ee7e6d073b697c2e6bece0cf4109ecb7956beaa318f98?d=identicon)[VIONOX](/maintainers/VIONOX)

---

Top Contributors

[![xversial](https://avatars.githubusercontent.com/u/6711998?v=4)](https://github.com/xversial "xversial (14 commits)")[![roshangautam](https://avatars.githubusercontent.com/u/978347?v=4)](https://github.com/roshangautam "roshangautam (7 commits)")

### Embed Badge

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

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

PHPackages © 2026

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