smarcet/jose4php

JWT, JWS, JWE, JWA and JWK implementation in PHP

1.0.17 2019-07-12 23:35 UTC

README

JSON Web Token (JWT)/JSON Web Signature (JWS)/JSON Web Key (JWK)/JSON Web Encryption (JWE)/JSON Web Algorithms (JWA) Implementation

* https://tools.ietf.org/html/rfc7519
* https://tools.ietf.org/html/rfc7515
* https://tools.ietf.org/html/rfc7516
* https://tools.ietf.org/html/rfc7517
* https://tools.ietf.org/html/rfc7518

Build Status Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality

Prerequisites

* LAMP/LEMP environment
* PHP >= 7.2
* composer (https://getcomposer.org/)

Install

run following commands on root folder

* curl -s https://getcomposer.org/installer | php
* php composer.phar install --prefer-dist
* php composer.phar dump-autoload --optimize
* phpunit --bootstrap vendor/autoload.php