rogerlopez13/php-jwk

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP library to create JWKs

v1.0.0 2025-01-02 16:42 UTC

This package is not auto-updated.

Last update: 2025-08-15 17:52:20 UTC


README

MIT License

Create JWKs from private keys

Installation

  composer require rogerlopez13/php-jwk

Usage/Examples

Get an array containing all necessary fields of the JWK using a private key.

$pk = "YOUR SHA-256 PRIVATE KEY";
$jwk = \Rogerlopez13\Jwk\JWK::fromPrivateKey($pk);