JWT Framework
Search…
PHAR Application

Installation

To install the application, you just have to download it and download the associated public key (the application is digitally signed):
1
curl -OL https://github.com/web-token/jwt-app/raw/gh-pages/jose.phar
2
curl -OL https://github.com/web-token/jwt-app/raw/gh-pages/jose.phar.pubkey
Copied!
If everything is fine, you should have two files:
  • jose.phar
  • jose.phar.pubkey
You can move these files wherever you want (e.g. /usr/local/bin).
To use it, just execute the following line:
1
./jose.phar
Copied!

Update

The application can be updated easily:
1
./jose.phar selfupdate
Copied!
If a new version exists, it will be downloaded automatically. If there is something wrong with the new version, you can reinstall the previous revision:
1
./jose.phar rollback
Copied!
Last modified 3yr ago
Copy link