PHPackages                             utbvirtual/openldapsavio - 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. utbvirtual/openldapsavio

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

utbvirtual/openldapsavio
========================

An openldap auth driver for Laravel 5 and UTB Autentication.

1.1.1(10y ago)028MITPHPPHP &gt;=5.5.0

Since Apr 8Pushed 10y ago2 watchersCompare

[ Source](https://github.com/santiagoutb/openldapsavio)[ Packagist](https://packagist.org/packages/utbvirtual/openldapsavio)[ RSS](/packages/utbvirtual-openldapsavio/feed)WikiDiscussions master Synced 2mo ago

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

Laravel 5 OpenLDAP Auth
=======================

[](#laravel-5-openldap-auth)

Driver de autenticación para Laravel 5.

\##Instalación Agregar al `composer.json` e instalar con `composer install` / `composer update`.

```
{
  require: {
    "utbvirtual/openldapsavio": "dev-master"
  }
}

```

\##Agregar a Laravel Abre tu archivo `config/app.php` y agrega el service providers en el array de providers.

```
utbvirtual\openldapsavio\LdapAuthServiceProvider::class

```

Actualiza tu archivo `config/auth.php` para usar el driver `ldap`.

```
'driver' => 'ldap'

```

\##Configuración Manualmente crear el archivo `config/ldap.php` y agregar lo siguiente:

```

```

Crear en el archivo App\\User la función `createOrUpdateUser()` que reciba los credentials y toda la información de LDAP, que revise si el usuario existe, y si no, crearlo a partir de esos datos.

Ejemplo:

```
public function createOrUpdateUser($credentials){
        $user = User::where('codigo', '=', $credentials['username'])->first();
        if (!$user) {
            $userdata = ['codigo' => $credentials['username'],
            'name' => $credentials['cn'], 'email' => $credentials['mail']];
            $user = User::create($userdata);
        }
        return $user;
}

```

\##Acerca de Basado en el paquete de [Kuan-Chien Chung(kcchung)](http://jaychung.tw) l5-openldap-auth. Edited by [Santiago Mendoza](http://www.santiagomendoza.org)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

4

Last Release

3655d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/65307ab96133bf2c09adb330d410668e1f6e3d155772daa03a0008c09e4279e6?d=identicon)[sanmen1593](/maintainers/sanmen1593)

---

Top Contributors

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

---

Tags

laravelauthopenldaputbvirtual

### Embed Badge

![Health badge](/badges/utbvirtual-openldapsavio/health.svg)

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

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M350](/packages/tymon-jwt-auth)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M53](/packages/php-open-source-saver-jwt-auth)[laragear/two-factor

On-premises 2FA Authentication for out-of-the-box.

339785.3k8](/packages/laragear-two-factor)

PHPackages © 2026

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