PHPackages                             ethantechnology/php-jwk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ethantechnology/php-jwk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ethantechnology/php-jwk
=======================

A small PHP library to handle JWKs (Json Web Keys)

v1.0.0(6mo ago)01MITPHPPHP &gt;=7.3.0

Since Oct 31Pushed 6mo agoCompare

[ Source](https://github.com/ethantechnology/php-jwk)[ Packagist](https://packagist.org/packages/ethantechnology/php-jwk)[ Docs](https://github.com/ethantechnology/php-jwk)[ RSS](/packages/ethantechnology-php-jwk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

php-jwk
=======

[](#php-jwk)

A small PHP library to handle JWKs (Json Web Keys) Fork repo:

This library helps to create json web key sets from PEM and is also able to pull out PEMs from json web key sets.

Please note that **only RSA keys are supported at the moment!**

See [JSON Web Key RFC](https://tools.ietf.org/html/rfc7517) for reference.

Installation
------------

[](#installation)

This library requires PHP version 7.3 or higher and can be installed with composer:

```
$ composer require ethantechnology/php-jwk
```

Example usage
-------------

[](#example-usage)

See full example [here](examples/full-flow.php).

### Create a key-object from PEM

[](#create-a-key-object-from-pem)

```
