Sample code for 30+ languages & platforms
PHP

JSON Web Signatures (JWS) Examples for Chilkat2 PHP