A PHP implementation of JWT (JSON Web Token) generator, parser, verifier, and validator.
Full Changelog: https://github.com/miladrahimi/php-jwt/compare/v3.2.0...v3.2.2
Release notes:
JwtException
as the superclass of all exception classes.Release notes:
addRule
method has been removed.addRequiredRule()
and addOptionalRule()
methods.Release notes:
Support for typ
and kid
headers: This release introduces added support for the typ
and kid
headers, enriching the functionality of the package. Users can now include these headers while working with the package, enabling enhanced customization and identification within JWT operations.
VerifierFactory Implementation: We've implemented the VerifierFactory, a versatile feature allowing seamless identification of verifiers based on the kid
header. With this addition, users can easily select and employ the appropriate verifier for JWTs by specifying the kid
header, streamlining the verification process.
Release notes:
Expanded Algorithm Support: In this release, we've broadened our algorithm support to include ES256
, ES256K
, ES384
, and EdDSA
algorithms. These additions empower users with a wider range of cryptographic options, enhancing security and flexibility for JWT operations.
Obsolete PHP Versions Removed: To streamline and optimize the package's compatibility and performance, we've removed support for outdated versions of PHP. This decision ensures that the package aligns with current PHP standards and focuses on maintaining compatibility with modern PHP releases.
Some improvements!
Make it more portable to run on different operating systems
Make it more portable to run on different operating systems
Add support for PHP v8.0 and newer PHPUnit versions
Mirror updates.