PHPackages                             iftekhardanimobi/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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. iftekhardanimobi/php-jwt

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

iftekhardanimobi/php-jwt
========================

A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.

v5.0.0(8y ago)05BSD-3-ClausePHPPHP &gt;=5.3.0

Since Aug 28Pushed 6y agoCompare

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

READMEChangelogDependencies (1)Versions (10)Used By (0)

[![Build Status](https://camo.githubusercontent.com/20bbf83e7bfa7baa2cfbda76a848237344421ead2bebcecd87b14daa8fa66e29/68747470733a2f2f7472617669732d63692e6f72672f696674656b68617264616e696d6f62692f7068702d6a77742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/iftekhardanimobi/php-jwt)[![Latest Stable Version](https://camo.githubusercontent.com/0d8a3fb86c3504a0f2a714e7064005976624360c003cc905a7e704e15b9d7c20/68747470733a2f2f706f7365722e707567782e6f72672f696674656b68617264616e696d6f62692f7068702d6a77742f762f737461626c65)](https://packagist.org/packages/iftekhardanimobi/php-jwt)[![Total Downloads](https://camo.githubusercontent.com/dc0aea50bc17e967b8bc0dc4088b93fd8689d129836e7b7bb3263b0b8686971e/68747470733a2f2f706f7365722e707567782e6f72672f696674656b68617264616e696d6f62692f7068702d6a77742f646f776e6c6f616473)](https://packagist.org/packages/iftekhardanimobi/php-jwt)[![License](https://camo.githubusercontent.com/ccbd497fff2b691f3b801409e7df94b3f7654c86b5b7bfc7957d1087a18594a8/68747470733a2f2f706f7365722e707567782e6f72672f696674656b68617264616e696d6f62692f7068702d6a77742f6c6963656e7365)](https://packagist.org/packages/iftekhardanimobi/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 iftekhardanimobi/php-jwt
```

Example
-------

[](#example)

```
