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

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

mideal/laravel-jwt
==================

Jwt auth for laravel

1.0.1(3y ago)011PHPPHP ^8.0.2

Since Feb 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mideal/laravel-jwt)[ Packagist](https://packagist.org/packages/mideal/laravel-jwt)[ RSS](/packages/mideal-laravel-jwt/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (10)Versions (3)Used By (0)

Introduction
------------

[](#introduction)

Laravel Jwt provides a authentication system with jwt for SPAs and API.

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

[](#installation)

You may install Laravel Jwt via the Composer package manager:

```
composer require mideal/laravel-jwt

```

Next, you should publish the Jwt configuration files using the vendor:publish Artisan command. The jwt configuration file will be placed in your application's config directory:

```
php artisan vendor:publish --provider="Mideal\Jwt\JwtServiceProvider"
```

Protecting Routes
-----------------

[](#protecting-routes)

```
use Illuminate\Http\Request;

Route::middleware('auth:jwt')->get('/user', function (Request $request) {
    return $request->user();
});
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

2

Last Release

1184d ago

### Community

Maintainers

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

---

Top Contributors

[![mideal](https://avatars.githubusercontent.com/u/6316545?v=4)](https://github.com/mideal "mideal (10 commits)")

---

Tags

jwtlaravelauth

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M129](/packages/laravel-pulse)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M130](/packages/roots-acorn)[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k108.5M879](/packages/laravel-socialite)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

84611.1M63](/packages/php-open-source-saver-jwt-auth)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.5k91.9M592](/packages/laravel-passport)

PHPackages © 2026

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