Registry / crypto / web-token-jwt-encryption

web-token-jwt-encryption

JSON →
library4.0.0phppackagistunverified

Encryption component of the JWT Framework.

composer require web-token/jwt-encryption
INSTALL
IMPORT
SIG · WEB-TOKEN-JWT-ENCR
W
web-token-jwt-encryption
cryptophpv4.0.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.

JWEBuilder
use Jose\Component\Encryption\JWEBuilder;

Creates a new JWE (JSON Web Encryption) object with a payload.

use Jose\Component\Encryption\JWEBuilder; $builder = new JWEBuilder(); $jwe = $builder->create()->withPayload('Hello World!')->build();
Debug
Known issues
breakingRequires PHP 8.1+ and the OpenSSL or Sodium extension for encryption operations.
fix
Ensure your environment meets the PHP version and extension requirements.
affects: >=4.0.0
Upgrade
Version history
4.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
34
Amazon
1
Anthropic
1
OpenAI (training)
1
Resources
web-token-jwt-encryption — pip install web-token-jwt-encryption · libregistry