This package is abandoned and no longer maintained. The author suggests using the spomky-labs/jose package instead.

JSON Object Signing and Encryption service for PHP.

v0.2.1 2015-12-07 07:37 UTC


Scrutinizer Code Quality Coverage Status

Build Status HHVM Status


Latest Stable Version Total Downloads Latest Unstable Version License


This project uses Spomky-Labs/jose to ease encryption/decryption and signature/verification of JWS and JWE.

The Release Process

The release process is described here.


This library needs at least:

  • PHP 5.6+.

Please consider the following optional requirements:

  • AES-GCM based algorithms (AxxxGCM and AxxxGCMKW): PHP Crypto Extension (not yet available on PHP 7 and HHVM).

Continuous Integration

It has been successfully tested using PHP 5.6 with all algorithms.

Some tests on PHP 7 and HHVM were skipped because PHP Crypto is not yet supported. At the moment, you will not be able to use GCM algorithms on these platforms.

We also track bugs and code quality using Scrutinizer-CI and Sensio Insight.

Coding Standards are verified by StyleCI.

Code coverage is analyzed by Coveralls.io.


The preferred way to install this library is to rely on Composer:

composer require spomky-labs/jose-service "dev-master"

How to use

Your classes are ready to use? Have a look at How to use to create or load your first JWT objects.


Requests for new features, bug fixed and all other ideas to make this library useful are welcome. Please follow these best practices.


This software is release under MIT licence.