PHPackages                             anndro/sentry\_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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. anndro/sentry\_ldap

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

anndro/sentry\_ldap
===================

PHP 5.3+ Fully-featured Authentication &amp; Authorization System with Ldap

2.2.2(10y ago)223495[2 issues](https://github.com/anndro/SentryLdap/issues)BSD-3-ClausePHPPHP &gt;=5.3.3

Since Jun 13Pushed 10y ago3 watchersCompare

[ Source](https://github.com/anndro/SentryLdap)[ Packagist](https://packagist.org/packages/anndro/sentry_ldap)[ RSS](/packages/anndro-sentry-ldap/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (6)Versions (10)Used By (0)

SentryLdap
==========

[](#sentryldap)

SentryLdap is a fork of Cartalyst Sentry library. Added new features like ldap authentication.SentryLdap is a PHP 5.3+ fully-featured authentication &amp; authorization system. It also provides additional features such as user groups and additional security features.

This branch works with Laravel 4.2 !

Sentry is a framework agnostic set of interfaces with default implementations, though you can substitute any implementations you see fit.

### Features

[](#features)

It also provides additional features such as user groups and additional security features:

- Ldap login

Sentry features

- Configurable authentication (can use any type of authentication required, such as username or email)
- Authorization
- Activation of user *(optional)*
- Groups and group permissions
- "Remember me"
- User suspension
- Login throttling *(optional)*
- User banning
- Password resetting
- User data
- Interface driven - switch out your own implementations at will

### Installation

[](#installation)

Installation of SentryLdap is very easy. Open your composer.json file and add the following to the require array:

```
"anndro/sentry_ldap": "2.1.*"

```

to your composer.json file then follow one of the following guides to get SentryLdap working with your favorite framework or on it's own:

1. Install in [Laravel 4](http://docs.cartalyst.com/sentry-2/installation/laravel-4)
2. Install in [FuelPHP 1](http://docs.cartalyst.com/sentry-2/installation/fuelphp-1)
3. Install in [CodeIgniter 3](http://docs.cartalyst.com/sentry-2/installation/codeigniter-3)

### Using

[](#using)

This library is still beta for ldap functions. You have to change this lines in your config file.

```
'ldap' => array(
	'server'	=> 'ldapserver',
	'port'		=> 'ldapport'
),

```

After this settings you have to follow sentry orginal document file. You can use ldap login like this;

```
// Set login credentials
$credentials = array(
    'userid'    => 'demo',
    'password' => 'demo',
);

// Try to authenticate the user
$user = Sentry::authenticateWithLdap($credentials, false);

```

Also have Sentry::authenticateWithLdapAndRemember($credentials); function.

### Support

[](#support)

We offer support through [our help forums](http://help.cartalyst.com), on [IRC at #cartalyst](http://webchat.freenode.net/?channels=cartalyst) for normal sentry issues, and through GitHub issues (bugs only) for Ldap issues.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 70.9% 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 ~74 days

Recently: every ~92 days

Total

6

Last Release

3979d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3640857?v=4)[Mücahit Büyükyılmaz](/maintainers/anndro)[@anndro](https://github.com/anndro)

---

Top Contributors

[![bencorlett](https://avatars.githubusercontent.com/u/181919?v=4)](https://github.com/bencorlett "bencorlett (331 commits)")[![brunogaspar](https://avatars.githubusercontent.com/u/2285372?v=4)](https://github.com/brunogaspar "brunogaspar (57 commits)")[![noherczeg](https://avatars.githubusercontent.com/u/1084847?v=4)](https://github.com/noherczeg "noherczeg (15 commits)")[![anndro](https://avatars.githubusercontent.com/u/3640857?v=4)](https://github.com/anndro "anndro (10 commits)")[![drsii](https://avatars.githubusercontent.com/u/100901?v=4)](https://github.com/drsii "drsii (6 commits)")[![jesseobrien](https://avatars.githubusercontent.com/u/865481?v=4)](https://github.com/jesseobrien "jesseobrien (5 commits)")[![vesparny](https://avatars.githubusercontent.com/u/82070?v=4)](https://github.com/vesparny "vesparny (5 commits)")[![aleemb](https://avatars.githubusercontent.com/u/46616?v=4)](https://github.com/aleemb "aleemb (4 commits)")[![RickvdP](https://avatars.githubusercontent.com/u/1748084?v=4)](https://github.com/RickvdP "RickvdP (4 commits)")[![dhrrgn](https://avatars.githubusercontent.com/u/149921?v=4)](https://github.com/dhrrgn "dhrrgn (3 commits)")[![dberry37388](https://avatars.githubusercontent.com/u/1000887?v=4)](https://github.com/dberry37388 "dberry37388 (3 commits)")[![JonoB](https://avatars.githubusercontent.com/u/627725?v=4)](https://github.com/JonoB "JonoB (2 commits)")[![trq](https://avatars.githubusercontent.com/u/32683?v=4)](https://github.com/trq "trq (2 commits)")[![joakimkejser](https://avatars.githubusercontent.com/u/2860792?v=4)](https://github.com/joakimkejser "joakimkejser (2 commits)")[![rydurham](https://avatars.githubusercontent.com/u/674347?v=4)](https://github.com/rydurham "rydurham (2 commits)")[![natedog550](https://avatars.githubusercontent.com/u/65060?v=4)](https://github.com/natedog550 "natedog550 (2 commits)")[![jonagoldman](https://avatars.githubusercontent.com/u/1297559?v=4)](https://github.com/jonagoldman "jonagoldman (1 commits)")[![spamoom](https://avatars.githubusercontent.com/u/99203?v=4)](https://github.com/spamoom "spamoom (1 commits)")[![spencerdeinum](https://avatars.githubusercontent.com/u/1307314?v=4)](https://github.com/spencerdeinum "spencerdeinum (1 commits)")[![SteveEdson](https://avatars.githubusercontent.com/u/1201960?v=4)](https://github.com/SteveEdson "SteveEdson (1 commits)")

---

Tags

laravelsecurityauthcodeigniterfuelphp

### Embed Badge

![Health badge](/badges/anndro-sentry-ldap/health.svg)

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

###  Alternatives

[cartalyst/sentinel

PHP 8.2+ Fully-featured Authentication &amp; Authorization System

1.6k2.7M71](/packages/cartalyst-sentinel)[tomatophp/filament-developer-gate

Secure your selected route by using a middleware with static password for developers only

11106.7k6](/packages/tomatophp-filament-developer-gate)[phpzen/laravel-rbac

Role based access control for Laravel 5

383.2k](/packages/phpzen-laravel-rbac)

PHPackages © 2026

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