PHP JWT compatible with Draft 11 of JSON Web Tokens [closed]
at Namshi we've developed our own implementation of the JOSE/JWT/JWS spec.
I've written an article some time ago that serves as an addition to the brief documentation: we've been using it for a few months now and we're pretty happy with the results.
I have developped a PHP library to support JWT, JWS, JWE, JWK and JWA. This library is in active developpement and already offers a lot of signatures and encryption algorithms.The documentation is still incomplete, but do not hesitate to contact me if you have any questions.
If you received 5 segments, it is a JWE object (encrypted). To decrypt it, you must have a private key (JWK object).