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

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

leadout/jwt
===========

Simple JWT authentication for Laravel.

v3.2.0(1mo ago)04.3kMITPHPPHP ^8.2CI passing

Since Oct 29Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/leadoutweb/jwt)[ Packagist](https://packagist.org/packages/leadout/jwt)[ RSS](/packages/leadout-jwt/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (16)Versions (8)Used By (0)

leadout-jwt
===========

[](#leadout-jwt)

[![run-tests workflow](https://github.com/leadoutweb/jwt/actions/workflows/run-tests.yml/badge.svg)](https://github.com/leadoutweb/jwt/actions/workflows/run-tests.yml/badge.svg)

A lightweight JWT guard for Laravel.

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

[](#installation)

Install the package through composer:

```
composer require leadout/jwt
```

The package will automatically register the authentication guard.

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

[](#configuration)

Configuring the package takes place solely through the guard configuration in Laravel's native `auth.php` configuration file.

The following example shows all the configuration that can be passed to the guard:

```
