PHPackages                             ngabor84/laravel-escher-auth - 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. ngabor84/laravel-escher-auth

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

ngabor84/laravel-escher-auth
============================

Escher authentication middleware for the Laravel and Lumen framework

3.1.0(1y ago)09.2k↓50%3MITPHPPHP ^8.2CI failing

Since Oct 23Pushed 1y agoCompare

[ Source](https://github.com/ngabor84/laravel-escher-auth)[ Packagist](https://packagist.org/packages/ngabor84/laravel-escher-auth)[ Docs](https://github.com/ngabor84/laravel-escher-auth)[ RSS](/packages/ngabor84-laravel-escher-auth/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (22)Used By (0)

[![GitHub license](https://camo.githubusercontent.com/111a673f7514e49da756eb448293ca3be3f67441e08e77db2b50ff6480fc98f3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6e6761626f7238342f6c61726176656c2d6573636865722d617574682e737667)](https://github.com/ngabor84/laravel-escher-auth/blob/master/LICENSE)

Escher Auth Middleware
======================

[](#escher-auth-middleware)

Escher authentication middleware for the Laravel and Lumen framework.

About
-----

[](#about)

This package allows you to authenticate the incoming requests with Escher authentication.

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

[](#installation)

Require the ngabor84/laravel-escher-auth package in your composer.json and update your dependencies:

```
composer require ngabor84/laravel-escher-auth
```

Usage with Laravel
------------------

[](#usage-with-laravel)

Add the service provider to the providers array in the config/app.php config file as follows:

```
'providers' => [
    ...
    \Middleware\Auth\Escher\Providers\LaravelServiceProvider::class,
]
```

Run the following command to publish the package config file:

```
php artisan vendor:publish --provider="Middleware\Auth\Escher\Providers\LaravelServiceProvider"
```

You should now have a config/escher.php file that allows you to configure the basics of this package.

Usage with Lumen
----------------

[](#usage-with-lumen)

Add the following snippet to the bootstrap/app.php file under the providers section as follows:

```
$app->register(\Middleware\Auth\Escher\Providers\LumenServiceProvider::class);
...
$app->configure('escher');
```

Create a config directory (if it's not exist), and create an escher.php in it with the plugin configuration like this:

```
return [
    'hashAlgo' => 'SHA256',
    'algoPrefix' => 'EMS',
    'vendorKey' => 'EMS',
    'authHeaderKey' => 'X-EMS-Auth',
    'dateHeaderKey' => 'X-EMS-Date',
    'clockSkew' => '300',
    'credentialScope' => env('ESCHER_CREDENTIAL_SCOPE'),
    'keyDB' => env('ESCHER_KEY_DB'),
];
```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 81.8% 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 ~108 days

Recently: every ~224 days

Total

21

Last Release

585d ago

Major Versions

0.6.0 → 1.0.02021-06-29

1.0.1 → 2.0.02022-04-25

2.0.0 → 3.0.02023-06-09

PHP version history (6 changes)0.1.0PHP &gt;=7.1

0.4.0PHP &gt;=7.3

1.0.0PHP ^7.3|^8.0

2.0.0PHP ^8.0

3.0.0PHP ^8.1

3.1.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/b82b4c58ac85ec44874c61841493e3c6d7b46a1264c9902661b9d07eb638f292?d=identicon)[ngabor84](/maintainers/ngabor84)

---

Top Contributors

[![ngabor84](https://avatars.githubusercontent.com/u/22472700?v=4)](https://github.com/ngabor84 "ngabor84 (27 commits)")[![borzi](https://avatars.githubusercontent.com/u/36844219?v=4)](https://github.com/borzi "borzi (5 commits)")[![lloki-emarsys](https://avatars.githubusercontent.com/u/85487058?v=4)](https://github.com/lloki-emarsys "lloki-emarsys (1 commits)")

---

Tags

laravelauthlumenescher

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ngabor84-laravel-escher-auth/health.svg)

```
[![Health](https://phpackages.com/badges/ngabor84-laravel-escher-auth/health.svg)](https://phpackages.com/packages/ngabor84-laravel-escher-auth)
```

###  Alternatives

[generationtux/jwt-artisan

JWT auth package for Laravel and Lumen

13953.1k](/packages/generationtux-jwt-artisan)[gghughunishvili/entrust

This package provides a flexible way to add Role-based Permissions to Laravel/Lumen 6

27524.0k](/packages/gghughunishvili-entrust)[vinkas/firebase-auth-laravel

Firebase Authentication package for Laravel PHP Framework

392.1k](/packages/vinkas-firebase-auth-laravel)

PHPackages © 2026

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