monderka/jwt-generator

PHP tool for simple generating JWTokens

1.0.2 2024-03-03 18:10 UTC

This package is auto-updated.

Last update: 2024-12-03 19:45:34 UTC


README

Tool for simple generating JWTokens

  1. Install by composer require monderka/jwt-generator
  2. Generate key pairs for example (available algos are EdDSA, ES256, ES384, ES512, HS256, HS384, HS512, PS256, PS384, PS512, RS256, RS384)
openssl ecparam -name prime256v1 -genkey -noout -out private-key.pem
openssl ec -in private-key.pem -pubout -out public-key.pem