PackageTrack
Sign in Get early access

web-token/jwt-library

JWT library

4.1.7 19M downloads/mo #450 most downloaded on Packagist web-token/jwt-library

What this package is like to depend on

Last release 2 months ago

06 Jun 2026

Release timing varies

gaps range from 8 days to 6 months

Some releases are documented

notes for 10 of 33 stable releases

Nothing withdrawn

no release was ever pulled

2 years old

33 releases · first in 2024

9 releases in the last 12 months

see the full history below

Release timeline

29 releases · Feb 2024 to Jun 2026
2025 2026
Release Pre-release

Releases

latest 33
  1. 4.1.7 06 Jun 2026
    Release notes

    Merge branch '4.0.x' into 4.1.x

    Open source →
  2. 4.1.6 14 Apr 2026
    Release notes

    Mise à jour de la contrainte de version de brick/math pour inclure le…

    Open source →
  3. 4.1.5 18 Dec 2025
    Release notes

    Fix PHP 8.5 deprecation (#648)

    Open source →
  4. 4.1.4 no date
    Release notes

    Fix PHP 8.5 deprecation (#648)

    Open source →
  5. 4.1.3 no date
    Release notes

    Fix PHP 8.5 deprecation (#648)

    Open source →
  6. 4.1.2 17 Nov 2025
    Release notes

    Add GitHub Action to auto-switch default branch on new tags

    Open source →
  7. 4.1.1 17 Nov 2025
    Release notes

    Refactor command help text definitions for Symfony Console compatibil…

    Open source →
  8. 4.1.0 22 Oct 2025

    Nothing published for this version

  9. 4.0.7 06 Jun 2026
    Release notes
    • 3.4.x:
      Update signature tests for the protected-header "alg" requirement (#651)
      Merge commit from fork
      Merge commit from fork
      Merge commit from fork
      Merge commit from fork
      Add sodium support for Base64 URL safe encoding/decoding (#644)
      Allow psr/cache v2 (#620)
      Fix call function on null (#596)
      Add RangeException to Base64UrlSafe (#577)
      Add Base64UrlSafe utility and refactor code references (#576)

    Conflicts:

    composer.json

    phpstan-baseline.neon

    src/Bundle/DataCollector/JWECollector.php

    src/Experimental/KeyEncryption/AESCTR.php

    src/Experimental/KeyEncryption/Chacha20Poly1305.php

    src/Experimental/Signature/Blake2b.php

    src/Library/Console/GeneratorCommand.php

    src/Library/Core/JWK.php

    src/Library/Core/Util/Base64UrlSafe.php

    src/Library/Encryption/Algorithm/ContentEncryption/AESCBCHS.php

    src/Library/Encryption/Algorithm/ContentEncryption/AESGCM.php

    src/Library/Encryption/Algorithm/KeyEncryption/AESGCMKW.php

    src/Library/Encryption/Algorithm/KeyEncryption/AESKW.php

    src/Library/Encryption/Algorithm/KeyEncryption/AbstractECDH.php

    src/Library/Encryption/Algorithm/KeyEncryption/Dir.php

    src/Library/Encryption/Algorithm/KeyEncryption/PBES2AESKW.php

    src/Library/Encryption/Algorithm/KeyEncryption/RSA15.php

    src/Library/Encryption/Algorithm/KeyEncryption/Util/ConcatKDF.php

    src/Library/Encryption/Algorithm/KeyEncryption/Util/RSACrypt.php

    src/Library/Encryption/Serializer/CompactSerializer.php

    src/Library/Encryption/Serializer/JSONFlattenedSerializer.php

    src/Library/Encryption/Serializer/JSONGeneralSerializer.php

    src/Library/KeyManagement/Analyzer/ESKeyAnalyzer.php

    src/Library/KeyManagement/Analyzer/HSKeyAnalyzer.php

    src/Library/KeyManagement/Analyzer/OctAnalyzer.php

    src/Library/KeyManagement/Analyzer/RsaAnalyzer.php

    src/Library/KeyManagement/Analyzer/ZxcvbnKeyAnalyzer.php

    src/Library/Signature/Algorithm/EdDSA.php

    src/Library/Signature/Algorithm/HMAC.php

    src/Library/Signature/Serializer/CompactSerializer.php

    src/Library/Signature/Serializer/JSONFlattenedSerializer.php

    src/Library/Signature/Serializer/JSONGeneralSerializer.php

    src/Library/composer.json

    tests/Bundle/JoseFramework/Functional/Encryption/JWECollectorTest.php

    tests/Bundle/JoseFramework/Functional/KeyManagement/JWKLoaderTest.php

    tests/Component/Encryption/RFC7520/A128KWAndA128GCMEncryptionWithCompressionTest.php

    tests/Component/KeyManagement/JWKFactoryTest.php

    Open source →
  10. 4.0.6 13 Aug 2025

    Nothing published for this version

  11. 4.0.5 05 Aug 2025

    Nothing published for this version

  12. 4.0.4 12 Mar 2025

    Nothing published for this version

  13. 4.0.3 03 Jan 2025

    Nothing published for this version

  14. 4.0.2 no date

    Nothing published for this version

  15. 4.0.1 09 Jul 2024

    Nothing published for this version

  16. 4.0.0 24 Jun 2024

    Nothing published for this version

  17. 3.4.10 06 Jun 2026
    Release notes

    JWSVerifier::getAlgorithm() merged the protected and unprotected headers
    with [...$protected, ...$unprotected]; with duplicate keys PHP keeps the
    LAST value, so the attacker-controlled unprotected header could override
    the integrity-protected "alg". Combined with HeaderCheckerManager (which
    validates "alg" from the protected header), this is a TOCTOU
    algorithm-confusion / downgrade vector (e.g. forcing HS256 against an RSA
    public key, or HS512 -> HS256), and "alg" placed only in the unprotected
    header bypassed the duplicate-parameter check entirely.

    Per RFC 7515 §4.1.1 "alg" MUST be integrity protected. getAlgorithm() now
    reads "alg" exclusively from the protected header and rejects a JWS whose
    "alg" is absent from (or present only outside) the protected header.

    Co-authored-by: Claude Opus 4.8 (1M context) [email protected]

    Open source →
  18. 3.4.9 17 Nov 2025
    Release notes

    Add sodium support for Base64 URL safe encoding/decoding (#644)

    Open source →
  19. 3.4.8 07 May 2025

    Nothing published for this version

  20. 3.4.7 02 Jul 2024

    Nothing published for this version

  21. 3.4.6 no date

    Nothing published for this version

  22. 3.4.5 02 Jul 2024

    Nothing published for this version

  23. 3.4.4 24 Jun 2024

    Nothing published for this version

  24. 3.4.3 17 Apr 2024

    Nothing published for this version

  25. 3.4.2 17 Apr 2024

    Nothing published for this version

  26. 3.4.1 10 Apr 2024

    Nothing published for this version

  27. 3.4.0 09 Apr 2024

    Nothing published for this version

  28. 3.3.5 03 Apr 2024

    Nothing published for this version

  29. 3.3.4 24 Mar 2024

    Nothing published for this version

  30. 3.3.3 23 Mar 2024

    Nothing published for this version

  31. 3.3.2 22 Mar 2024

    Nothing published for this version

  32. 3.3.1 28 Feb 2024

    Nothing published for this version

  33. 3.3.0 22 Feb 2024

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive