PHPackages                             raditzfarhan/simple-jwt-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. raditzfarhan/simple-jwt-auth

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

raditzfarhan/simple-jwt-auth
============================

Just a simple jwt auth for Laravel and Lumen

v1.0.0(6y ago)1219[1 PRs](https://github.com/raditzfarhan/simple-jwt-auth/pulls)MITPHP

Since Apr 16Pushed 3y ago1 watchersCompare

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

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

[![](https://camo.githubusercontent.com/c07dbc266eadc08dad4c25684486476f86c7658f14ad104cf4f6a56ef6878757/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f72616469747a66617268616e2f696d6167652f75706c6f61642f76313538373030373637392f73696d706c652d6a77742d617574685f67706f3076642e737667)](https://camo.githubusercontent.com/c07dbc266eadc08dad4c25684486476f86c7658f14ad104cf4f6a56ef6878757/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f72616469747a66617268616e2f696d6167652f75706c6f61642f76313538373030373637392f73696d706c652d6a77742d617574685f67706f3076642e737667)

 [![Latest Version](https://camo.githubusercontent.com/16803a29ab94d355e67cda6180de915eb3febdc5fe29f3fd544b4954d77be7ed/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f72616469747a66617268616e2f73696d706c652d6a77742d617574683f7374796c653d666c61742d737175617265)](https://github.com/raditzfarhan/simple-jwt-auth/releases) [![License](https://camo.githubusercontent.com/1b01ef0024ba0866c115986b895301f657c1b21fc29f05c4844b7f2e8d89204d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e7376673f7374796c653d666c61742d737175617265)](https://github.com/raditzfarhan/simple-jwt-auth) [![styleci](https://camo.githubusercontent.com/3ebb9759d3748ad0fa1b6c7f477c842a04b4bdc799f75a8b68f3c6d585d07be8/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f373534383938362f736869656c643f7374796c653d737175617265)](https://github.com/raditzfarhan/simple-jwt-auth)

Simple JWT Auth
===============

[](#simple-jwt-auth)

Just a simple implementation of JWT Auth for Lumen

Configuration
-------------

[](#configuration)

Edit the `bootstrap/app.php` file and add the following line to register the service provider:

```
...
$app->register(RaditzFarhan\SimpleJWTAuth\JWTAuthServiceProvider::class);
...
```

Then add jwt to your guards config in `auth.php` config file:

```
'guards' => [
    ...
    'jwt' => [
        'driver' => 'simple-jwt-auth',
        'provider' => 'users',
    ],
],
```

Then add users provider if you haven't:

```
'providers' => [
    'users' => [
        'driver' => 'eloquent',
        'model' => App\User::class,
    ],
],
```

Credits
-------

[](#credits)

- [Raditz Farhan](https://github.com/raditzfarhan)

License
-------

[](#license)

MIT. Please see the [license file](LICENSE) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

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

2215d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1203676?v=4)[Raditz Farhan](/maintainers/raditzfarhan)[@raditzfarhan](https://github.com/raditzfarhan)

---

Top Contributors

[![farhan928](https://avatars.githubusercontent.com/u/8623033?v=4)](https://github.com/farhan928 "farhan928 (7 commits)")[![raditzfarhan](https://avatars.githubusercontent.com/u/1203676?v=4)](https://github.com/raditzfarhan "raditzfarhan (5 commits)")

---

Tags

jwtlaravelauthlumen

### Embed Badge

![Health badge](/badges/raditzfarhan-simple-jwt-auth/health.svg)

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

###  Alternatives

[generationtux/jwt-artisan

JWT auth package for Laravel and Lumen

13953.1k](/packages/generationtux-jwt-artisan)[benbjurstrom/cognito-jwt-guard

A laravel auth guard for JSON Web Tokens issued by Amazon AWS Cognito

1113.1k](/packages/benbjurstrom-cognito-jwt-guard)

PHPackages © 2026

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