PackageTrack
Sign in Get early access

lexik/jwt-authentication-bundle

This bundle provides JWT authentication for your Symfony REST API

v3.2.0 65M downloads/mo #621 most downloaded on Packagist lexik/LexikJWTAuthenticationBundle

What this package is like to depend on

Last release 8 months ago

20 Dec 2025

Release timing varies

gaps range from 8 days to 12 months

Nearly every release is documented

notes for 86 of 93 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

93 releases · first in 2014

1 release in the last 12 months

see the full history below

Release timeline

93 releases · May 2014 to Dec 2025
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 93
  1. v3.2.0 20 Dec 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v3.1.1...v3.2.0

    Open source →
    Release notes
    Open source →
  2. v3.1.1 06 Jan 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v3.1.0...v3.1.1

    Open source →
    Release notes
    Open source →
  3. v3.1.0 03 Jul 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v3.0.0...v3.1.0

    Open source →
    Release notes
    Open source →
  4. v3.0.0 05 May 2024
    Release notes

    What's Changed

    New Contributors

    • @wouter-toppy made their first contribution in #1056

    Full Changelog: v2.21.0...v3.0.0

    Open source →
    Release notes
    Open source →
  5. v2.21.0 27 Apr 2024
    Release notes

    ⚠️ This is the LAST 2.X FEATURE RELEASE ⚠️ The branch 2.x is now bugfix-only.

    What's Changed

    • [CI] Fixed CI for PHP 7.2 by @mnocon in #1188
    • Web-Token Framework simplified by @Spomky in #1207
    • feat: Invalidate a JWT token by @ldaspt in #1170
    • Invalidate a JWT token - Adding the jti claim by the JWTManager class instead of doing it via a listener by @ldaspt in #1218

    New Contributors

    Full Changelog: v2.20.3...v2.21.0

    Open source →
    Release notes
    Open source →
  6. v2.20.3 14 Dec 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v2.20.2...v2.20.3

    Open source →
    Release notes
    Open source →
  7. v2.20.2 05 Dec 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v2.20.1...v2.20.2

    Open source →
    Release notes
    Open source →
  8. v2.20.1 01 Dec 2023
    Release notes

    What's Changed

    • Removed constructor property promotion to fix compatibility with PHP 7.x by @webhdx in #1172

    New Contributors

    Full Changelog: v2.20.0...v2.20.1

    Open source →
    Release notes
    • bug #1172 Removed constructor property promotion to fix compatibility with PHP 7.x (@webhdx)
    Open source →
  9. v2.20.0 01 Dec 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v2.19.1...v2.20.0

    Open source →
    Release notes
    Open source →
  10. v2.19.1 04 Jul 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v2.19.0...v2.19.1

    Open source →
    Release notes
    Open source →
  11. v2.19.0 06 May 2023
    Release notes
    Open source →
  12. v2.18.1 13 Feb 2023
    Release notes
    Open source →
  13. v2.18.0 08 Feb 2023
    Release notes
    • bug #1109 Replaced deprecated ValidAt() with LooseValidAt() (carcabot)
    • feature #1112 Better API Platform and json_login compatibility (alanpoulain)
    Open source →
  14. v2.17.0 03 Feb 2023
    Release notes
    • bug #1110 Use the Security domain for translated messages (jderusse)
    • bug #1105 Fix creation of dynamic property (SpartakusMd)
    • feature #1098 Add API Platform compatibility (vincentchalamon)
    • bug #1096 Test under Symfony 6.2 / PHP 8.2 (chalasr)
    • feature #1092 allow environment variables for remove_token_from_body_when_cookies_used (usu)
    • bug #1067 Fixes TypeError in JWTManager (magikid)
    • feature #1072 Inject Clock in LcobucciJWSProvider (dbrumann)
    • bug #1069 Improve user_identity_field deprecation message (lobodol)
    • feature #1046 try to invalidate realpath cache if keypair loading failed (lobodol)
    Open source →
  15. v2.16.0 12 Jun 2022
    Release notes
    • feature #1037 Deprecate user_identity_field config option (chalasr)
    • feature #1020 Add allow_no_expiration option to allow validating tokens without ttl (pluk77)
    • bug #1019 Fix lexik#944: Separate CompatFailureResponse from FailureResponse (GErpeldinger)
    • bug #1015 Fix ECDSA algo names in LcobucciJWSProvider (lovenunu)
    • feature #1007 Allow for creation of tokens without exp (pluk77)
    • bug #1001 Fix deprecations on Symfony 6.1 (chalasr)

    ## 2.15.1 (2022-04-06)

    Open source →
  16. v2.15.1 08 Apr 2022

    Nothing published for this version

  17. v2.15.0 04 Apr 2022
    Release notes
    • feature #995 Add Request object into AuthenticationFailureEvent (dmytro-shulyakov)
    • bug #982 Fix a type related depreciation with php 8.1 (RiffFred)
    • feature #973 Translate message errors (flohw)
    • bug #976 Fix authentication with integer as useridentifier (Floruzus)
    Open source →
  18. v2.14.4 04 Jan 2022
    Release notes
    Open source →
  19. v2.14.3 15 Dec 2021
    Release notes
    • feature #940 Add remove_token_from_body_when_cookies_used config option (TjorvenB)
    • feature #928 Add support of multiple public keys to verify tokens with a set of keys (alexandre-daubois)
    • feature #958 Allowing session cookie (split cookie) (JeremyPasco)
    • bug #969 Fix PHP 8.1 deprecation - avoid passing null to is_file() (chalasr)
    • bug #966 fix getIterator compatible with php 8.1 (eerison)
    Open source →
  20. v2.14.2 05 Dec 2021
    Release notes
    • bug #961 Allow symfony/deprecations-contract v3.0 (bravik)
    • bug #951 Test instanceof Passport instead of more restrictive SelfValidatingPassport (TristanPouliquen)
    Open source →
  21. v2.14.1 02 Nov 2021
    Release notes
    Open source →
  22. v2.14.0 01 Nov 2021
    Release notes
    • feature #923 Add 3 new getter method to JWTTokenAuthenticator (fd6130)
    • bug #931 Only attempt split_cookie extraction if all of the cookies are present (carlobeltrame)
    • feature #925 Allow to set provider in jwt authenticator (fd6130)
    • feature #937 Symfony 6 Compatibility (mbabker)
    • bug #922 Fix error when trying to decode token using new authenticator system (fd6130)
    Open source →
  23. v2.13.0 15 Sep 2021
    Release notes
    • feature #916 Allow to use custom authenticator by extending JWTAuthenticator (fd6130)
    • bug #914 Bundle breaks application if Symfony Console not installed (yivi)
    • feature #912 Added argument to AuthenticationSuccessHandler to stop token from being removed from response (naitsirch)
    • bug #905 Changed JWTAuthenticator::start method return type to more generic Response type (aurimasniekis)
    • feature #903 Implement AuthenticatorInterface::createToken() (Symfony 5.4) (chalasr)
    Open source →
  24. v2.12.6 29 Jul 2021
    Release notes
    • bug 66ec1e0 Fix missing import (chalasr)
    Open source →
  25. v2.12.5 28 Jul 2021
    Release notes
    • bug #897 Fix unexpected deprecation about Guard (bis) (chalasr)
    Open source →
  26. v2.12.4 28 Jul 2021
    Release notes
    • bug #895 Fix unexpected deprecation about Guard (chalasr)
    Open source →
  27. v2.12.3 07 Jul 2021
    Release notes
    Open source →
  28. v2.12.2 03 Jul 2021
    Release notes
    • bug #886 Fix remaining deprecations on Symfony 5.3 (chalasr)
    Open source →
  29. v2.12.1 27 Jun 2021
    Release notes
    • bug #884 Remove development files from releases (chalasr)
    Open source →
  30. v2.12.0 23 Jun 2021
    Release notes
    Open source →
  31. v2.11.3 12 May 2021
    Release notes
    Open source →
  32. v2.11.2 17 Feb 2021
    Release notes
    • bug #840 [Security] On Authentication failure, replace MessageData (mpiot)
    • bug #838 Fix wiring GenerateKeyPairCommand when key paths are null (chalasr)
    Open source →
  33. v2.11.1 10 Feb 2021
    Release notes
    • bug #835 Fix #834: Re-add namshi/jose as required dependency until v3 (filisko)
    Open source →
  34. v2.11.0 09 Feb 2021
    Release notes
    • bug #833 KeyLoaderInterface::getPassphrase() might return null and we need a string (drupol)
    • feature #832 Make AbstractKeyLoader::getSigningKey() and AbstractKeyLoader::getPublicKey public (drupol)
    • feature #817 Feat: add keypair generation command (bpolaszek)
    • feature #816 Remove support for lcobucci/jwt <3.4 & symfony/* <4.4 (chalasr)
    Open source →
  35. v2.10.7 12 May 2021
    Release notes
    Open source →
  36. v2.10.6 20 Jan 2021
    Release notes
    • bug #827 Use named constructor for lcobucci/jwt Ecdsa signers (chalasr)
    • bug #826 Fix creating tokens when iat is already set in the payload (chalasr)
    Open source →
  37. v2.10.5 19 Dec 2020
    Release notes
    • bug #815 Fix compatibility for lcobucci/jwt v3.x (bis) (chalasr)
    Open source →
  38. v2.10.4 18 Dec 2020
    Release notes
    Open source →
  39. v2.10.3 30 Nov 2020
    Release notes
    • bug #804 Fix ability to set extra standard claims in the input payload (bis) (chalasr)
    • bug #807 Fix compatibility with locbucci/jwt 3.2 (chalasr)
    Open source →
  40. v2.10.2 30 Nov 2020
    Release notes
    • bug #801 Fix ability to set extra standard claims in the input payload (chalasr)
    • bug #796 Set Token on ExpiredTokenException (AdrienBr)
    Open source →
  41. v2.10.1 28 Nov 2020
    Release notes
    • bug #797 Fix support for lcobucci/jwt v3.4 and 4.0 (chalasr)
    Open source →
  42. v2.10.0 23 Nov 2020
    Release notes
    Open source →
  43. v2.9.0 27 Oct 2020
    Release notes
    • feature #769 Added support for composed cookies (lukacovicadam)
    • bug #787 fix day saving transition php (flaugere)
    • bug #780 Add deprecation message argument to JWTFactory.php (chrBrd)
    • feature #786 Allow token creation from an existing payload (RicoLannez)
    • feature #677 chore/implement-against-key-loader-interface (TiMESPLiNTER)
    • feature #767 Added the possibility to choose if the cookie is "secure" or not (Mael-91)
    Open source →
  44. v2.8.0 14 Jun 2020
    Release notes
    • feature #761 Expose payload in encode/decode exceptions (chalasr)
    • bug #755 Drop php 5.5 compat, Test against php 7.4 + symfony 5.1 and fix deprecations (acrobat)
    • bug #683 Handle ChainUserProvider (Gemorroj)
    Open source →
  45. v2.7.0 28 May 2020
    Release notes
    • feature #753 Add set_cookies option to store JWT in secure cookies (chalasr)
    • feature #737 Enable to keep the modified payload after decode (cedriclombardot)
    Open source →
  46. v2.6.5 22 Nov 2019
    Release notes
    Open source →
  47. v2.6.4 29 Jul 2019
    Release notes
    • bug #669 Fix dispatch signature on SF > 4.3 (Webonaute)
    • bug #650 Fixed AuthenticaionFailureHandler to utilize messages from custom exceptions (EresDev)
    Open source →
  48. v2.6.3 17 Apr 2019
    Release notes
    Open source →
  49. v2.6.2 01 Apr 2019
    Release notes
    Open source →
  50. v2.6.1 18 Nov 2018
    Release notes
    • bug #577 Fix argument order in JWTProvider service declaration (fjogeleit)
    Open source →
  51. v2.6.0 01 Nov 2018
    Release notes
    • bug #574 fix clockSkew not taken into account in some case (mu4ddi3)
    • bug #554 Fix deprecations on Symfony 4.2 (chalasr)
    • feature #537 Customizable User ID Claim (Spomky)
    • feature #503 Allow setting the "exp" claim from event listeners (MaximeMaillet)
    Open source →
  52. v2.5.4 02 Aug 2018
    Release notes
    • bug #542 Fix missing implemenets breaking JWT header alteration (tucksaun)
    Open source →
  53. v2.5.3 06 Jul 2018
    Release notes
    • bug #525 Make openssl key loader service deprecated (Faecie)
    Open source →
  54. v2.5.2 03 Jul 2018
    Release notes
    • bug #522 Fix clock skew + deprecation message (chalasr)
    Open source →
  55. v2.5.1 30 Jun 2018
    Release notes
    • bug #515 Re-add namshi/jose as an hard requirement until 3.0 (chalasr)
    Open source →
  56. v2.5.0 29 Jun 2018
    Release notes
    • feature #508 Replace namshi/jose by lcobucci/jwt (chalasr)
    • feature #485 Add a lexik:jwt:generate-token command (sroze)
    • feature #369 Fix HMAC support (chalasr)
    • feature #492 Clock skew (patrickjDE)
    • feature #433 Added setPayload to JWTDecodedEvent analogous to JWTCreatedEvent. (vgeyer)
    • feature #412 Make the token type case insensitive (greg0ire)
    • feature #404 CheckConfigCommand should not be container aware (chalasr)
    • feature #352 JWT header alteration (Spomky)
    • feature #344 Add an extension point on the PayloadAwareUserProviderInterface (sroze)
    Open source →
  57. v2.4.4 06 Mar 2018

    Nothing published for this version

  58. v2.4.3 10 Nov 2017
    Release notes
    • bug #408 Response classes shouldn't have the @internal PhpDoc tag (lashae)
    • bug #403 Switch to PSR-4 namespaces for PHPUnit (chalasr)
    • bug #399 Fix sf3.4 command autoregistration deprecation (ogizanagi)
    Open source →
  59. v2.4.2 19 Oct 2017
    Release notes
    • bug #398 Fix Symfony 4 compatibility (benji07)
    • bug #383 Don't register lcobucci encoder if lcobucci/jwt is not installed (chalasr)
    Open source →
  60. v2.4.1 29 Jun 2017
    Release notes
    • bug #356 Dont use DefinitionDecorator on Symfony 3.3+ (chalasr)
    Open source →

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