PHPackages                             wisoot/jwt-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. [HTTP &amp; Networking](/categories/http)
4. /
5. wisoot/jwt-guard

ActiveLibrary[HTTP &amp; Networking](/categories/http)

wisoot/jwt-guard
================

Laravel Guard Driver using JSON Web Token (JWT)

v0.7.2(9y ago)67033MITPHPPHP &gt;=5.6

Since Feb 15Pushed 9y ago3 watchersCompare

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

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

Jwt Guard
---------

[](#jwt-guard)

[![Author](https://camo.githubusercontent.com/ea91ca82fbad508c7d5a02971f5e644b55b4d9c2dcb50c30fb65685a9c53e1f6/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d407769736f6f74776f6e672d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/wisootwong)[![Latest Version on Packagist](https://camo.githubusercontent.com/69996caf1639865d5f6d64b6e836b5c536df2d134baa06718e1e69b5f2a6205d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7769736f6f742f6a77742d67756172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wisoot/jwt-guard)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Quality Score](https://camo.githubusercontent.com/78ba6bef7863f2e2515b6d9b766b8cc2d044a60eff5bbb890e6326acdfcae962/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7769736f6f742f6a77742d67756172642e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/wisoot/jwt-guard)[![Total Downloads](https://camo.githubusercontent.com/8723e0e78ed6db75c362784037266394cd47b2647270de9158fa0a829270fd27/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7769736f6f742f6a77742d67756172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wisoot/jwt-guard)

Jwt Guard is alternative Laravel 5.2 Guard Driver which is implemented using JSON Web Token (JWT)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

### Install

[](#install)

To install this package you will need:

- Laravel 5.2
- PHP 5.6+

Via Composer

```
$ composer require wisoot/jwt-guard
```

#### Add the Service Provider

[](#add-the-service-provider)

Open `config/app.php` and, to your `providers` array at the bottom, add:

```
WWON\JwtGuard\Providers\JwtGuardServiceProvider::class
```

#### Publish config file and database migration

[](#publish-config-file-and-database-migration)

```
php artisan vendor:publish --provider="WWON\JwtGuard\Providers\JwtGuardServiceProvider"
```

Update `jwt.php` config to suit your project, run the migration, then you are good to go.

### Usage

[](#usage)

In `config/auth.php` config file you have access to `jwt` driver.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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 ~20 days

Recently: every ~102 days

Total

26

Last Release

3286d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/599955?v=4)[wisoot](/maintainers/wisoot)[@wisoot](https://github.com/wisoot)

---

Top Contributors

[![wisoot](https://avatars.githubusercontent.com/u/599955?v=4)](https://github.com/wisoot "wisoot (47 commits)")

---

Tags

jwtapirest

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[binaryk/laravel-restify

Laravel REST API helpers

675410.3k](/packages/binaryk-laravel-restify)[shopify/shopify-api

Shopify API Library for PHP

4655.2M19](/packages/shopify-shopify-api)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.6M18](/packages/xeroapi-xero-php-oauth2)[lomkit/laravel-rest-api

A package to build quick and robust rest api for the Laravel framework.

59659.4k](/packages/lomkit-laravel-rest-api)[francescomalatesta/laravel-api-boilerplate-jwt

An API Boilerplate to create a ready-to-use REST API in seconds.

1.2k7.5k](/packages/francescomalatesta-laravel-api-boilerplate-jwt)[api-platform/laravel

API Platform support for Laravel

59156.3k11](/packages/api-platform-laravel)

PHPackages © 2026

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