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

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

firehed/jwt
===========

JSON Web Token tools

3.4.0(1y ago)342.5k↓17.6%[4 issues](https://github.com/Firehed/jwt/issues)[1 PRs](https://github.com/Firehed/jwt/pulls)1MITPHPPHP ^8.1

Since Apr 12Pushed 1y ago1 watchersCompare

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

READMEChangelog (7)Dependencies (6)Versions (15)Used By (1)

JWT - JSON Web Tokens
=====================

[](#jwt---json-web-tokens)

[![Tests](https://github.com/Firehed/jwt/actions/workflows/test.yml/badge.svg)](https://github.com/Firehed/jwt/actions/workflows/test)[![codecov](https://camo.githubusercontent.com/e6c77a1de0096acb668b74d6f5ea5faa15e7c46d65ccf8ddffb25a2022fe0406/68747470733a2f2f636f6465636f762e696f2f67682f466972656865642f6a77742f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Firehed/jwt)

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

[](#installation)

`composer require firehed/jwt`

Usage
-----

[](#usage)

Basic encoding example:

```
