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

ActiveLibrary

anboo/php-jwt
=============

A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Support several key types including JWK.

4.0.6(6y ago)09761BSD-3-ClausePHPPHP &gt;=5.4.0

Since Aug 28Pushed 6y agoCompare

[ Source](https://github.com/anboo/php-jwt)[ Packagist](https://packagist.org/packages/anboo/php-jwt)[ Docs](https://github.com/fproject/php-jwt)[ RSS](/packages/anboo-php-jwt/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (1)Versions (17)Used By (1)

[![Build Status](https://camo.githubusercontent.com/9e9fabfe75cefbd7bfe96b826189a36db09fd0a1eb065a86307954e08da65dde/68747470733a2f2f7472617669732d63692e6f72672f6670726f6a6563742f7068702d6a77742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/fproject/php-jwt)[![Latest Stable Version](https://camo.githubusercontent.com/320c60683d9b31a5b186f78454263ff324a1ce4b3da6df10681a20c0bb5d5d43/68747470733a2f2f706f7365722e707567782e6f72672f6670726f6a6563742f7068702d6a77742f762f737461626c65)](https://packagist.org/packages/fproject/php-jwt)[![Total Downloads](https://camo.githubusercontent.com/c4da2bbd3c05c38d8fe003a23d32a94628067d18ca705bc60092ace93c27e68f/68747470733a2f2f706f7365722e707567782e6f72672f6670726f6a6563742f7068702d6a77742f646f776e6c6f616473)](https://packagist.org/packages/fproject/php-jwt)[![License](https://camo.githubusercontent.com/b6846697ce8999a95dd84758658f6c8ee518345ce32ebbb9814e81a9a9baede2/68747470733a2f2f706f7365722e707567782e6f72672f6670726f6a6563742f7068702d6a77742f6c6963656e7365)](https://packagist.org/packages/fproject/php-jwt)

PHP-JWT
=======

[](#php-jwt)

PHP library to encode and decode JSON Web Tokens (JWT). Support several key types including JWK. Conform to the [current spec](https://tools.ietf.org/html/rfc7519).

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

[](#installation)

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

```
composer require fproject/php-jwt
```

Example
-------

[](#example)

```
