Download the PHP package strobotti/php-jwk without Composer
On this page you can find all versions of the php package strobotti/php-jwk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download strobotti/php-jwk
More information about strobotti/php-jwk
Files in strobotti/php-jwk
Download strobotti/php-jwk
More information about strobotti/php-jwk
Files in strobotti/php-jwk
Vendor strobotti
Package php-jwk
Short Description A small PHP library to handle JWKs (Json Web Keys)
License MIT
Homepage https://github.com/Strobotti/php-jwk
Package php-jwk
Short Description A small PHP library to handle JWKs (Json Web Keys)
License MIT
Homepage https://github.com/Strobotti/php-jwk
Please rate this library. Is it a good library?
Informations about the package php-jwk
php-jwk
A small PHP library to handle JWKs (Json Web Keys)
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 for reference.
Installation
This library requires PHP version 7.3 or higher and can be installed with composer:
Example usage
See full example here.
Create a key-object from PEM
Outputs:
Create a JWK set (jwks) from a key
Outputs:
Get a key from keyset by kid
and convert it to PEM
Outputs:
Contributing
See CONTRIBUTING.md for more details.
All versions of php-jwk with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.3.0
ext-json Version *
ext-openssl Version *
phpseclib/phpseclib Version ^3.0
ext-json Version *
ext-openssl Version *
phpseclib/phpseclib Version ^3.0
The package strobotti/php-jwk contains the following files
Loading the files please wait ....