Registry / crypto / spomky-labs-jose

spomky-labs-jose

JSON →
library7.1.0phppackagistunverified

JSON Object Signing and Encryption library for PHP.

composer require spomky-labs/jose
INSTALL
IMPORT
SIG · SPOMKY-LABS-JOSE
S
spomky-labs-jose
cryptophpv7.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AlgorithmManager
use Jose\Component\Core\AlgorithmManager;

Create an algorithm manager for JWT signing with HS256.

use Jose\Component\Core\AlgorithmManager; use Jose\Component\Signature\Algorithm\HS256; $manager = new AlgorithmManager([new HS256()]);
Debug
Known issues
breakingVersion 7.x requires PHP 8.0+; older versions use different namespaces.
fix
Use PHP 8.0+ or stick to version 6.x for PHP 7.4.
affects: >=7.0.0
Upgrade
Version history
7.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
44 hits · last 30 days
node
30
Resources
spomky-labs-jose — pip install spomky-labs-jose · libregistry