kampfcaspar / jwt
JWT PHP library abstraction layer
Installs: 13
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kampfcaspar/jwt
Requires
- php: ^8.1
 - ext-json: *
 - kampfcaspar/filter: ^0.5
 - psr/clock: ^1.0
 - psr/log: ^3.0.0
 
Requires (Dev)
- beste/psr-testlogger: ^1.0.0
 - phpstan/extension-installer: ^1.3
 - phpstan/phpstan: ^1.10
 - phpstan/phpstan-phpunit: ^1.3
 - phpunit/phpunit: ^10.0
 - struggle-for-php/sfp-phpstan-psr-log: ^0.17
 
This package is auto-updated.
Last update: 2025-10-10 00:39:47 UTC
README
I often have the need to let a program just call an object to encode/decode a payload, without fussing about keys, algorithms etc.
The 'coder' object can be prepared and then given to a consumer that only has to call decode/encode.
This mini interface provides that functionality and can be used for JWS, JWE and Nested Webtoken.
It need an implementation, e.g. for web-token/jwt.