lcobucci/jwt
A lightweight, flexible JWT library for PHP. Create, sign, parse, and validate JSON Web Tokens with support for multiple algorithms, key types, constraints, and claims. Includes a fluent builder, token parser, and robust validation APIs.
Feature release (minor)
5.4.x bugfix release (patch)
Feature release (minor)
.readthedocs.yaml and /renovate.json files from dist thanks to @Slamdunkreadonly classes thanks to @Slamdunk5.4.x bugfix release (patch)
This release fixes doc blocks to make sure static analysis tools can identify usage issues.
This release adds PHP 8.4 compatibility and improvements on the codebase.
This release ships a new validation constraint to assert that a private claim exists.
This release provides an API to ease key rotation procedures and dependency updates.
This releases compatibility guarantees with PHP 8.3 and adds testing against PHP 8.4-dev.
1025: Update all non-major dependencies thanks to @renovate[bot]
1017: Update dependency phpstan/phpstan to v1.10.26 thanks to @renovate[bot]
1016: Update dependency lcobucci/coding-standard to v11 thanks to @renovate[bot]
1006: Lock file maintenance thanks to @renovate[bot]
1004: Update all non-major dependencies thanks to @renovate[bot]
1010: Fixed naming of assertShouldRaiseExceptionWhenSignatureIsValid() thanks to @rhertogh
This release removes deprecated components, makes PHP 8.1 the minimum required version, and ships some API improvements.
strings thanks to @Slamdunk\Lcobucci\JWT\Signer\None thanks to @SlamdunkFeature release (minor)
This release fixes a documentation mistake.
This release provides a high-level API, a new (non-standard) algorithm, and validation for key length requirements. The latter is a minor BC-break for users that aren't following the RFC recommendations.
To contain the impact of the changes and give time for people to rotate keys, we have deprecated implementations that maintain the previous behaviour and allow unsafe keys. For more information, please read the documentation.
::empty() factory method thanks to @Slamdunk789: Merge release 4.1.5 into 4.2.x thanks to @github-actions[bot]
704: Invalid signing with SHA256 alg using secp521r1 curve thanks to @KartaviK
This patch ships a minor security fix to prevent misuse of the LocalFileReference key.
More info: https://github.com/lcobucci/jwt/security/advisories/GHSA-7322-jrq4-x5hf
This patch ships a minor security fix to prevent misuse of the LocalFileReference key.
More info: More info: https://github.com/lcobucci/jwt/security/advisories/GHSA-7322-jrq4-x5hf
This patch ships a minor security fix to prevent misuse of the LocalFileReference key.
More info: More info: https://github.com/lcobucci/jwt/security/advisories/GHSA-7322-jrq4-x5hf
This release removes the possibility of having parsing issues when dealing with time-fractions with more than 6 decimal places.
This release removes the possibility of having parsing issues when dealing with time-fractions with more than 6 decimal places.
This release fixes a specification compatibility issue by making sure we use floats to represent time fractions.
This release fixes a specification compatibility issue by making sure we use floats to represent time fractions.
This release fixes the polyfill for sodium base64 encoding.
This release makes it possible to use the library when libsodium < 1.0.14 is installed.
This release fixes an issue with the compatibility layer that disallowed us to use composer's classmap-authoritative autoload.
This release fixes a gap on our forward compatibility layer with v4 for multiple audience support, improving the documentation to state how users can migrate their code.
This release provides a new algorithm (EdDSA over Curve25519) and a claim formatted that always uses integers for date claims.
This release fixes the validation logic of the expiration claim, making sure we're properly following the RFC.
This release fixes a bug and a BC-break introduced in v3.4.0.
This release ships several API improvements, making this lib much more extensible and easier to use. It requires PHP 7.4 and it's compatible with PHP 8.0 as well (the latest RC).
Please follow our upgrading guide to perform the necessary adjustments to your code.
ValidAt constraint thanks to @lcobucciHow can I help you explore Laravel packages today?