PHPackages                             cleaniquecoders/kerberos-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. cleaniquecoders/kerberos-auth

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

cleaniquecoders/kerberos-auth
=============================

Built with Laravel Standalone Package Creator

v1.0.0(6y ago)2352[1 issues](https://github.com/cleaniquecoders/kerberos-auth/issues)[3 PRs](https://github.com/cleaniquecoders/kerberos-auth/pulls)MITPHPPHP &gt;=7.3

Since Feb 29Pushed 4y agoCompare

[ Source](https://github.com/cleaniquecoders/kerberos-auth)[ Packagist](https://packagist.org/packages/cleaniquecoders/kerberos-auth)[ RSS](/packages/cleaniquecoders-kerberos-auth/feed)WikiDiscussions master Synced today

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

[![Build Status](https://camo.githubusercontent.com/4949600864b3183268f6807a052a25eaf6ac12c19e868193dfe2528db14e26d3/68747470733a2f2f7472617669732d63692e6f72672f636c65616e69717565636f646572732f6b65726265726f732d617574682e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cleaniquecoders/kerberos-auth) [![Latest Stable Version](https://camo.githubusercontent.com/1ad4fd5a96f841c13b3319e6e79885d0503caa7aeca4125ef001aee7141b9023/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e69717565636f646572732f6b65726265726f732d617574682f762f737461626c65)](https://packagist.org/packages/cleaniquecoders/kerberos-auth) [![Total Downloads](https://camo.githubusercontent.com/1620de2e351e242055bf301849db2e209b1f12c68cec05b2b36390ae4d212c6e/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e69717565636f646572732f6b65726265726f732d617574682f646f776e6c6f616473)](https://packagist.org/packages/cleaniquecoders/kerberos-auth) [![License](https://camo.githubusercontent.com/ae9db78533981a9d687ca30afd8ca505f2eefba10a1ee932fd1839efdec0b076/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e69717565636f646572732f6b65726265726f732d617574682f6c6963656e7365)](https://packagist.org/packages/cleaniquecoders/kerberos-auth)

Kerberos Auth
-------------

[](#kerberos-auth)

This package allowed yout to authenticate your application using Kerberos.

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

[](#installation)

1. In order to install `cleaniquecoders/kerberos-auth` in your Laravel project, just run the *composer require* command from your terminal:

```
$ composer require cleaniquecoders/kerberos-auth

```

2. Publish Kerberos Configuration:

```
$ php artisan vendor:publish --tag="kerberos-auth-config"

```

2. Install the `KerberosMiddleware` in `app/Http/Kernel.php` in `web` group middleware:

```
protected $middlewareGroups = [
    'web' => [
    	...
    	\CleaniqueCoders\KerberosAuth\Http\Middleware\KerberosMiddleware::class,
    	...
    ]
];
```

Usage
-----

[](#usage)

In order to enable Kerberos Authentication, you need to enable it. Open up your `.env` file and add the following:

```
KERBEROS_ENABLED=true

```

You may modify the Kerberos header passed to your application. If not, by default it will be `X-REMOTE-USER`:

```
KERBEROS_HEADER_KEY="X-REMOTE-USER-IDENTIFIER"

```

By default, Kerberos will use `App\Models\User::class` and using `email` field to identify user's identity and authenticate to the application. You may want to change this configuration in `.env` if you have different model and field want to use for authentication.

```
KERBEROS_MODEL="\App\User"
KERBEROS_IDENTIFIER="employee_id"

```

Test
----

[](#test)

Run the following command:

```
$ vendor/bin/phpunit  --testdox --verbose

```

Contributing
------------

[](#contributing)

Thank you for considering contributing to the `cleaniquecoders/kerberos-auth`!

### Bug Reports

[](#bug-reports)

To encourage active collaboration, it is strongly encourages pull requests, not just bug reports. "Bug reports" may also be sent in the form of a pull request containing a failing test.

However, if you file a bug report, your issue should contain a title and a clear description of the issue. You should also include as much relevant information as possible and a code sample that demonstrates the issue. The goal of a bug report is to make it easy for yourself - and others - to replicate the bug and develop a fix.

Remember, bug reports are created in the hope that others with the same problem will be able to collaborate with you on solving it. Do not expect that the bug report will automatically see any activity or that others will jump to fix it. Creating a bug report serves to help yourself and others start on the path of fixing the problem.

Coding Style
------------

[](#coding-style)

`cleaniquecoders/kerberos-auth` follows the PSR-2 coding standard and the PSR-4 autoloading standard.

You may use PHP CS Fixer in order to keep things standardised. PHP CS Fixer configuration can be found in `.php_cs`.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.7% 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

Unknown

Total

1

Last Release

2318d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b57069d0f4b634f65eccc6e5d5848990e25968d45ec2cf46d626c6a4658f944b?d=identicon)[nasrulhazim.m](/maintainers/nasrulhazim.m)

---

Top Contributors

[![nasrulhazim](https://avatars.githubusercontent.com/u/10341422?v=4)](https://github.com/nasrulhazim "nasrulhazim (18 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

laravelpackageauthkerberos

### Embed Badge

![Health badge](/badges/cleaniquecoders-kerberos-auth/health.svg)

```
[![Health](https://phpackages.com/badges/cleaniquecoders-kerberos-auth/health.svg)](https://phpackages.com/packages/cleaniquecoders-kerberos-auth)
```

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.7k51.8M374](/packages/tymon-jwt-auth)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

84611.1M64](/packages/php-open-source-saver-jwt-auth)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6804.7k6](/packages/hasinhayder-tyro)[hasinhayder/tyro-login

Tyro Login - Beautiful, customizable authentication views for Laravel 12 &amp; 13

2464.9k6](/packages/hasinhayder-tyro-login)[mpyw/null-auth

Null Guard for Laravel. Designed for Middleware-based authentication and testing.

18114.1k](/packages/mpyw-null-auth)[wearepixel/laravel-cart

A cart implementation for Laravel

1374.8k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

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