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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. kayrules/authkeepr

ActiveLaravel-middleware[Authentication &amp; Authorization](/categories/authentication)

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 yesterday

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 57% 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

2909d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[overtrue/socialite

A collection of OAuth 2 packages.

1.4k5.6M90](/packages/overtrue-socialite)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k34](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

121242.9k1](/packages/ellaisys-aws-cognito)

PHPackages © 2026

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