2017 © Pedro Peláez
 

library jwt

JWT (JSON Web Tokens) for PHP

image

f21/jwt

JWT (JSON Web Tokens) for PHP

  • Friday, March 10, 2017
  • by F21
  • Repository
  • 4 Watchers
  • 24 Stars
  • 8,425 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 12 Forks
  • 1 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

JWT

A PHP library for encoding and decoding JSON Web Tokens., (*1)

Deprecration Notice

This project is no longer being actively maintained. Please consider switching to lcobucci/jwt or one of the PHP libraries listed on jwt.io., (*2)

Important security notice, (*3)

Thanks to Toshiharu Sugiyama!, (*4)

Please upgrade to 2.0 as soon as possible as previous versions are susceptible to verification bypass attacks if the same public key is used for signing when using asymmetric and symmetric algorithms., (*5)

This is a release breaks backwards compatibility because you now need to pass in the decoding algorithm when decoding in order to verify the JWT., (*6)

For more information see: JVN#06120222 at jpcert.or.jp, (*7)

Supported Algorithms

HMAC, (*8)

  • HS256 - HMAC using SHA-256 hash algorithm (default)
  • HS384 - HMAC using SHA-384 hash algorithm
  • HS512 - HMAC using SHA-512 hash algorithm

RSA (Public Key/Private Key pair), (*9)

  • RS256 - RSA using SHA-256 hash algorithm
  • RS384 - RSA using SHA-384 hash algorithm
  • RS512 - RSA using SHA-512 hash algorithm

The Versions

10/03 2017

dev-master

9999999-dev https://github.com/F21/jwt

JWT (JSON Web Tokens) for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4.8

 

jwt json web tokens

01/05 2015

2.0

2.0.0.0 https://github.com/F21/jwt

JWT (JSON Web Tokens) for PHP

  Sources   Download

MIT

The Requires

  • php >=5.4.8

 

jwt json web tokens

11/01 2013

1.0

1.0.0.0 https://github.com/F21/jwt

JWT (JSON Web Tokens) for PHP

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

jwt json web tokens