PHPackages                             compwright/php-jwks - 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. [Security](/categories/security)
4. /
5. compwright/php-jwks

ActiveLibrary[Security](/categories/security)

compwright/php-jwks
===================

JSON Web Key tools for PHP per RFC-7517

v2.0.0(1y ago)03.0k↓14.3%1MITPHPPHP ^8.3.0 || ^8.4.0CI passing

Since Mar 20Pushed 1y agoCompare

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

READMEChangelog (1)Dependencies (4)Versions (3)Used By (1)

php-jwk
=======

[](#php-jwk)

[![Latest Stable Version](https://camo.githubusercontent.com/c82781408a490a5a3108f00fffa15343c99588b749f3c3c6991c79ef5510ea22/68747470733a2f2f706f7365722e707567782e6f72672f636f6d707772696768742f7068702d6a776b732f762f737461626c65)](https://packagist.org/packages/compwright/php-jwks)[![coverage](https://raw.githubusercontent.com/Strobotti/php-jwk/gh-pages/.badges/master/coverage.svg)](https://raw.githubusercontent.com/Strobotti/php-jwk/gh-pages/.badges/master/coverage.svg)[![License](https://camo.githubusercontent.com/7278ca72f94e4a22e73871df0a030192a45dd660cc309cae4a6a46162353355a/68747470733a2f2f706f7365722e707567782e6f72672f636f6d707772696768742f7068702d6a776b732f6c6963656e7365)](https://packagist.org/packages/compwright/php-jwks)

JSON Web Key tools for PHP per [RFC-7517](https://tools.ietf.org/html/rfc7517)

Inspired by , but reimagined, simplified, and updated for PHP 8.4.

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

[](#installation)

```
$ composer require compwright/php-jwks
```

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

[](#example-usage)

### Create a key-object from PEM

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

```
