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

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

corviz/jwt
==========

Lib for generating Json Web Tokens using PHP

v1.0(4y ago)2132MITPHPPHP &gt;=8.0

Since Mar 22Pushed 4y ago1 watchersCompare

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

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

JWT
===

[](#jwt)

[![JWT Logo](https://camo.githubusercontent.com/501586654ee22168e4c0978120ce734329615f92fbb4d44f93ccf5364392dfa3/68747470733a2f2f6a77742e696f2f696d672f6c6f676f2d61737365742e737667)](https://camo.githubusercontent.com/501586654ee22168e4c0978120ce734329615f92fbb4d44f93ccf5364392dfa3/68747470733a2f2f6a77742e696f2f696d672f6c6f676f2d61737365742e737667)

How to install
--------------

[](#how-to-install)

```
composer require corviz/jwt

```

Provided signers
----------------

[](#provided-signers)

  Algorithm Version   HS256 1.0   HS384 1.0   HS512 1.0 Provided claim validators
-------------------------

[](#provided-claim-validators)

  Claim Version   exp 1.0   nbf 1.0 Basic Usage
-----------

[](#basic-usage)

### Generating token

[](#generating-token)

```
