PHPackages                             jokermario/php-jwt-flavour - 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. jokermario/php-jwt-flavour

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

jokermario/php-jwt-flavour
==========================

A simple library to encode and decode JSON Web Tokens (JWT) in PHP. This flavour includes a unique identifier in the JWT Header

v1.2.2(6y ago)06BSD-3-ClausePHPPHP &gt;=7.0.0

Since Mar 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/jokermario/php-jwt-flavour)[ Packagist](https://packagist.org/packages/jokermario/php-jwt-flavour)[ Docs](https://github.com/jokermario/php-jwt-flavour)[ RSS](/packages/jokermario-php-jwt-flavour/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

[![Build Status](https://camo.githubusercontent.com/b9995e9b991a4634391e27753459a955b0809bc274a9734c98e1fbb1ce673296/68747470733a2f2f7472617669732d63692e6f72672f66697265626173652f7068702d6a77742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/firebase/php-jwt)[![Latest Stable Version](https://camo.githubusercontent.com/bebc7cfe76c18d3d232ea4163cac4402a05152f133d87d30592fc8cf4247e44a/68747470733a2f2f706f7365722e707567782e6f72672f66697265626173652f7068702d6a77742f762f737461626c65)](https://packagist.org/packages/firebase/php-jwt)[![Total Downloads](https://camo.githubusercontent.com/067ce010f6f401b143ead4b6d7d09d3bf778445a701d10339f75de812285d798/68747470733a2f2f706f7365722e707567782e6f72672f66697265626173652f7068702d6a77742f646f776e6c6f616473)](https://packagist.org/packages/firebase/php-jwt)[![License](https://camo.githubusercontent.com/c4297c941ea39c4f981b2490a343a9a99a721aec347fedf367cd13e30a1fdce4/68747470733a2f2f706f7365722e707567782e6f72672f66697265626173652f7068702d6a77742f6c6963656e7365)](https://packagist.org/packages/firebase/php-jwt)

PHP-JWT-FLAVOUR
===============

[](#php-jwt-flavour)

A simple library to encode and decode JSON Web Tokens (JWT) in PHP, conforming to [RFC 7519](https://tools.ietf.org/html/rfc7519). This flavour includes a unique identifier in the JWT Header

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

[](#installation)

Use composer to manage your dependencies and download PHP-JWT:

```
composer require jokermario/php-jwt-flavour
```

Example
-------

[](#example)

```
