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

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

gilclei/my-jwt
==============

A simple library to encode and decode JSON Web Tokens (JWT) in PHP

1.0.1(3y ago)03MITPHPPHP &gt;=5.3.0

Since Aug 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/gilcleis/my-jwt)[ Packagist](https://packagist.org/packages/gilclei/my-jwt)[ Docs](https://github.com/gilclei/my-jwt)[ RSS](/packages/gilclei-my-jwt/feed)WikiDiscussions master Synced 4w ago

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

[![Build Status](https://camo.githubusercontent.com/d660f0e5c968ee6663b2c0ac77dc5734306b18c69a2ad4c97cddab139fcb4d42/68747470733a2f2f7472617669732d63692e6f72672f67696c636c65692f6d792d6a77742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/gilclei/my-jwt)[![Latest Stable Version](https://camo.githubusercontent.com/6d4f8b861ae55db72c37cffc333abdc32072bf5bfd9dd66fa3e23dd0f85194db/68747470733a2f2f706f7365722e707567782e6f72672f67696c636c65692f6d792d6a77742f762f737461626c65)](https://packagist.org/packages/gilclei/my-jwt)[![Total Downloads](https://camo.githubusercontent.com/f6a1d755dc2b450115ee3fa7fd812c9fd54c2524e833f6f34d36f8f51f5096dc/68747470733a2f2f706f7365722e707567782e6f72672f67696c636c65692f6d792d6a77742f646f776e6c6f616473)](https://packagist.org/packages/gilclei/my-jwt)[![License](https://camo.githubusercontent.com/35a0647dfd9f1eddd9986b2831d0aa5161f087e9ab5934c4bed4742a7cc37a2d/68747470733a2f2f706f7365722e707567782e6f72672f67696c636c65692f6d792d6a77742f6c6963656e7365)](https://packagist.org/packages/gilclei/my-jwt)

My-JWT
======

[](#my-jwt)

A simple library to encode and decode JSON Web Tokens (JWT) in PHP.

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

[](#installation)

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

```
composer require gilclei/my-jwt
```

Example
-------

[](#example)

```
