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

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

mishal/jwt
==========

JWT - JSON Web Tokens

1.0.0(10y ago)982.9k↓24%41MITPHPPHP &gt;=5.4.0

Since Nov 17Pushed 7y ago3 watchersCompare

[ Source](https://github.com/mishal/jwt)[ Packagist](https://packagist.org/packages/mishal/jwt)[ RSS](/packages/mishal-jwt/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (1)

JWT – (JSON Web Token) for PHP
==============================

[](#jwt--json-web-token-for-php)

[![Build Status](https://camo.githubusercontent.com/d7eb27f0365146be05ba2dadf48d7c495236da67118aaf3f48613ebf78e7b883/68747470733a2f2f7472617669732d63692e6f72672f6d697368616c2f6a77742e737667)](https://travis-ci.org/mishal/jwt)[![Downloads](https://camo.githubusercontent.com/65878f7143f80a62593316c00aa07163ba4d14f951f40cddbed9d6f819ff235c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6d697368616c2f6a77742e737667)](https://packagist.org/packages/mishal/jwt)[![Latest release](https://camo.githubusercontent.com/2bea401a11eb8cc9494ed91d6a80557e51e9f1bd1fbbb63eecc6603a91bcf99e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d697368616c2f6a77742e737667)](https://github.com/mishal/jwt/releases)

A Php implementation of [JSON Web Token](https://tools.ietf.org/html/rfc7519).

Installing
----------

[](#installing)

### Install with composer

[](#install-with-composer)

```
$ composer require mishal/jwt

```

Algorithms and Usage
--------------------

[](#algorithms-and-usage)

The JWT spec supports `NONE`, `HMAC`, `RSASSA`, `ECDSA` and `RSASSA-PSS` algorithms for cryptographic signing.

Supported algorithms:

- None
- HMAC 256
- RSA 256

### NONE - unsigned token

[](#none---unsigned-token)

```
