PHPackages                             jc91715/jwt - 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. jc91715/jwt

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

jc91715/jwt
===========

1.0.0(7y ago)07MITPHP

Since Jan 21Pushed 7y agoCompare

[ Source](https://github.com/jc91715/jwt)[ Packagist](https://packagist.org/packages/jc91715/jwt)[ RSS](/packages/jc91715-jwt/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

beforeInstall
-------------

[](#beforeinstall)

```
composer require tymon/jwt-auth 1.0.0-rc.1

```

publish `jwt` Config
--------------------

[](#publish-jwt-config)

```
php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\LaravelServiceProvider"

```

\##set `jwt` driver

```
//config/auth.php

'guards' => [
    'web' => [
        'driver' => 'session',
        'provider' => 'users',
    ],

    'api' => [
        'driver' => 'jwt',
        'provider' => 'users',
    ],
],

```

install `jc91715/jwt`
---------------------

[](#install-jc91715jwt)

```
composer require jc91715/jwt:dev-master

```

generate `route` `controller` `middleware`
------------------------------------------

[](#generate-route-controller-middleware)

```
php artisan make:jwt

```

test
----

[](#test)

### `login` api `test`

[](#login-api-test)

yourdomain.work/api/auth/login

[![file](https://camo.githubusercontent.com/18af6daf3630719a74330796cfc2f30edb9434619d1455ac3ed2c34a25600e3c/68747470733a2f2f646e2d7068706875622e71626f782e6d652f75706c6f6164732f696d616765732f3230313830312f30312f393332342f78494d5a6b326a7a4d312e706e67)](https://camo.githubusercontent.com/18af6daf3630719a74330796cfc2f30edb9434619d1455ac3ed2c34a25600e3c/68747470733a2f2f646e2d7068706875622e71626f782e6d652f75706c6f6164732f696d616765732f3230313830312f30312f393332342f78494d5a6b326a7a4d312e706e67)

### `logout` api `test`

[](#logout-api-test)

yourdomain.work/api/auth/logout [![file](https://camo.githubusercontent.com/a2f39b9dd29cce19f0f6e5fd2578c64246db1034ea35fd2bcf028e010e723a75/68747470733a2f2f646e2d7068706875622e71626f782e6d652f75706c6f6164732f696d616765732f3230313830312f30312f393332342f487268336c73355939512e706e67)](https://camo.githubusercontent.com/a2f39b9dd29cce19f0f6e5fd2578c64246db1034ea35fd2bcf028e010e723a75/68747470733a2f2f646e2d7068706875622e71626f782e6d652f75706c6f6164732f696d616765732f3230313830312f30312f393332342f487268336c73355939512e706e67)

### `refreshToken` api `test`

[](#refreshtoken-api-test)

yourdomain.work/api/test/refresh/token

[![file](https://camo.githubusercontent.com/0521f201d054f8e188c967c6a8f0a4ce2bfb392bb85045005df1e39c26569e8e/68747470733a2f2f646e2d7068706875622e71626f782e6d652f75706c6f6164732f696d616765732f3230313830312f30312f393332342f6b6a316c4b70363335552e706e67)](https://camo.githubusercontent.com/0521f201d054f8e188c967c6a8f0a4ce2bfb392bb85045005df1e39c26569e8e/68747470733a2f2f646e2d7068706875622e71626f782e6d652f75706c6f6164732f696d616765732f3230313830312f30312f393332342f6b6a316c4b70363335552e706e67)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

2670d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/84c1f2d3c96116596059e689b1bc01f3cc5b1d7f183f02d3b3ed296532a79866?d=identicon)[jc91715](/maintainers/jc91715)

### Embed Badge

![Health badge](/badges/jc91715-jwt/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[olssonm/l5-very-basic-auth

Laravel stateless HTTP basic auth without the need for a database

1662.5M1](/packages/olssonm-l5-very-basic-auth)[stechstudio/laravel-jwt

Helper package that makes it easy to generate, consume, and protect routes with JWT tokens in Laravel

126117.6k](/packages/stechstudio-laravel-jwt)[scaler-tech/laravel-saml2

SAML2 Service Provider integration for Laravel applications, based on OneLogin toolkit

2737.5k](/packages/scaler-tech-laravel-saml2)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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