Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Jwt Laravel Package

firebase/php-jwt

Encode and decode JSON Web Tokens (JWT) in PHP per RFC 7519. Supports common signing algorithms, key handling, and optional leeway for clock skew. Install via Composer; libsodium compatible via sodium_compat.

View on GitHub
Deep Wiki
Context7
7.0.5

Bug Fixes

  • RSA from JWK sometimes returns empty Instance (#628) (b4c78aa)
7.0.4

Bug Fixes

  • readme examples, add tests for all examples (#626) (510a00c)
  • use urlsafeB64Decode everywhere (#627) (b889495)
7.0.3

Miscellaneous Chores

  • add environment for Release Please job (#619) (300fd02)
7.0.2

Bug Fixes

  • add key length validation for ec keys (#615) (7044f9a)
7.0.0

⚠️ ⚠️ ⚠️ Security Fixes ⚠️ ⚠️ ⚠️

  • add key size validation (#613) (6b80341) NOTE: This fix will cause keys with a size below the minimally allowed size to break.

Features

  • add SensitiveParameter attribute to security-critical parameters (#603) (4dbfac0)
  • store timestamp in ExpiredException (#604) (f174826)

Bug Fixes

6.9.0

Features

6.8.1

Bug Fixes

  • accept float claims but round down to ignore them (#492) (3936842)
  • different BeforeValidException messages for nbf and iat (#526) (0a53cf2)
6.8.0

Features

Bug Fixes

6.7.0

Features

  • add ed25519 support to JWK (public keys) (#452) (e53979a)
6.6.0

Features

  • allow get headers when decoding token (#442) (fb85f47)

Bug Fixes

6.5.0

Bug Fixes

Miscellaneous Chores

  • drop support for PHP 7.3 (#495)
6.4.0

Features

  • add support for W3C ES256K (#462) (213924f)
  • improve caching by only decoding jwks when necessary (#486) (78d3ed1)
6.3.2

Bug Fixes

  • check kid before using as array index (bad1b04)
6.3.1

Bug Fixes

6.3.0
  • Added ES256 support to JWK parsing (#399)
  • Fixed potential caching error in CachedKeySet by caching jwks as strings (#435)
6.2.0
  • Added CachedKeySet (#397)
  • Added $defaultAlg parameter to JWT::parseKey and JWT::parseKeySet (#426).
6.11.1

Bug Fixes

6.11.0

Features

Bug Fixes

  • refactor constructor Key to use PHP 8.0 syntax (#577) (29fa2ce)
6.10.2

Bug Fixes

6.10.1

Bug Fixes

6.10.0

Features

6.1.0
  • Drop support for PHP 5.3, 5.4, 5.5, 5.6, and 7.0
  • Add parameter typing and return types where possible
6.0.0
  • Backwards-Compatibility Breaking Changes: See the Release Notes for more information.
  • New Key object to prevent key/algorithm type confusion (#365)
  • Add JWK support (#273)
  • Add ES256 support (#256)
  • Add ES384 support (#324)
  • Add Ed25519 support (#343)
5.0.0
4.0.0
3.0.0
2.2.0
2.1.0
2.0.0
  • Note: It is strongly recommended that you update to > v2.0.0 to address known security vulnerabilities in prior versions when both symmetric and asymmetric keys are used together.
  • Update signature for JWT::decode(...) to require an array of supported algorithms to use when verifying token signatures.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4