PHPackages                             lukevear/jwt-auth-guard - 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. lukevear/jwt-auth-guard

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

lukevear/jwt-auth-guard
=======================

A Laravel 5.3 compatible auth guard for tymondesigns/jwt-auth

1.0.1(9y ago)811.2k2MITPHPPHP &gt;=7.0

Since Sep 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/lukevear/jwt-auth-guard)[ Packagist](https://packagist.org/packages/lukevear/jwt-auth-guard)[ RSS](/packages/lukevear-jwt-auth-guard/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

Laravel JWT Auth Guard
======================

[](#laravel-jwt-auth-guard)

[![Total Downloads](https://camo.githubusercontent.com/12fe9b5691ddcfbb908e608983a33531debf6fdbae1e3000c56bed47935d5526/68747470733a2f2f706f7365722e707567782e6f72672f6c756b65766561722f6a77742d617574682d67756172642f642f746f74616c2e737667)](https://packagist.org/packages/lukevear/jwt-auth-guard)[![Latest Stable Version](https://camo.githubusercontent.com/11a9d83f621fdf4fb1a4b0524aee0ba7c923b02ed70fe9d7c9585b45f90b18c2/68747470733a2f2f706f7365722e707567782e6f72672f6c756b65766561722f6a77742d617574682d67756172642f762f737461626c652e737667)](https://packagist.org/packages/lukevear/jwt-auth-guard)[![Latest Unstable Version](https://camo.githubusercontent.com/1d4f60feecf93ae82ed5d23fb5c9385ae927e2f65488ad5567c0cf47b3873047/68747470733a2f2f706f7365722e707567782e6f72672f6c756b65766561722f6a77742d617574682d67756172642f762f756e737461626c652e737667)](https://packagist.org/packages/lukevear/jwt-auth-guard)[![License](https://camo.githubusercontent.com/a59d5e1dcdf78a99f3e4e88ba7942b29dec54a2d3875680f8f0af5b5788a3d49/68747470733a2f2f706f7365722e707567782e6f72672f6c756b65766561722f6a77742d617574682d67756172642f6c6963656e73652e737667)](https://packagist.org/packages/lukevear/jwt-auth-guard)

This package provides an authentication guard for the `tymon/jwt-auth` package (&lt; 1.0.0) when using Laravel or Lumen 5.3.

> NOTE: The `tymon/jwt-auth` package as of 1.0.\* supplies its own guard.

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

[](#installation)

Before you can use this package, you must configure the jwt-auth package according to the project [WIKI](https://github.com/tymondesigns/jwt-auth/wiki/Installation).

Once you have installed and configured the jtw-auth package, add `lukevear/jwt-auth-guard` to your `composer.json`:

```
"lukevear/jwt-auth-guard": "1.*"
```

Then you can run `composer update` to grab the latest and greatest version.

Alternatively, you may install this package directly from the command line:

```
composer require "lukevear/jwt-auth-guard:1.*"
```

You'll need need to activate the service provider, which you can do in `config/app.php`:

```
'providers' => [
    ...
    LukeVear\JWTAuthGuard\JWTAuthGuardServiceProvider::class,
]
```

Finally, configure the authentication guard in `config/auth.php`:

```
'guards' => [
    ...

    'api' => [
        'driver'   => 'jwt-auth',
        ...
    ],
],
```

What's next?
------------

[](#whats-next)

Enjoy JWT based token authentication in your Laravel/Lumen 5.3 application!

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~55 days

Total

2

Last Release

3505d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11508219?v=4)[Luke Vear](/maintainers/lukevear)[@lukevear](https://github.com/lukevear)

---

Top Contributors

[![lukevear](https://avatars.githubusercontent.com/u/11508219?v=4)](https://github.com/lukevear "lukevear (7 commits)")[![fernandodebrando](https://avatars.githubusercontent.com/u/4173939?v=4)](https://github.com/fernandodebrando "fernandodebrando (1 commits)")

### Embed Badge

![Health badge](/badges/lukevear-jwt-auth-guard/health.svg)

```
[![Health](https://phpackages.com/badges/lukevear-jwt-auth-guard/health.svg)](https://phpackages.com/packages/lukevear-jwt-auth-guard)
```

###  Alternatives

[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5742.2M17](/packages/directorytree-ldaprecord-laravel)[illuminate/auth

The Illuminate Auth package.

9327.9M1.2k](/packages/illuminate-auth)[hasinhayder/tyro

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

6753.6k5](/packages/hasinhayder-tyro)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1542.1k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

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