PHPackages                             kayrules/authkeepr - 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. kayrules/authkeepr

ActiveLaravel-middleware

kayrules/authkeepr
==================

TM SSO auth-keeper middleware

1.3(7y ago)0252MITPHP

Since Jun 7Pushed 7y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Installation for lumen
======================

[](#installation-for-lumen)

install
-------

[](#install)

```
composer require kayrules/authkeepr

```

define middleware in bootstrap/app.php
--------------------------------------

[](#define-middleware-in-bootstrapappphp)

```
$app->routeMiddleware([
    'authkeepr' => Kayrules\AuthKeepr\Http\Middleware\AuthKeepr::class,
]);

```

using the middleware in routes/web.php
--------------------------------------

[](#using-the-middleware-in-routeswebphp)

```
$api->version('v1', [
	'middleware' => 'authkeepr',
], function ($api)
{
	//
});

```

declare .env variable to token provider url
-------------------------------------------

[](#declare-env-variable-to-token-provider-url)

```
AUTHKEEPR_SSO_URL=http://domain.com/auth/token

```

if the SSO provider apply strict header match, enter this in .env
-----------------------------------------------------------------

[](#if-the-sso-provider-apply-strict-header-match-enter-this-in-env)

```
AUTHKEEPR_SSO_ACCEPT_HEADER=application/vnd.strict.v1+json

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

Total

3

Last Release

2862d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/kayrules-authkeepr/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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