php-open-source-saver/jwt-auth
JSON Web Token Authentication for Laravel and Lumen
v2.9.3
12M downloads/mo
#1016 most downloaded on Packagist
PHP-Open-Source-Saver/jwt-auth
What this package is like to depend on
Last release 2 days ago
21 Aug 2026
Release timing varies
gaps range from 2 weeks to 7 months
Some releases are documented
notes for 25 of 64 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
78 releases · first in 2014
5 releases in the last 12 months
see the full history below
Release timeline
78 releases · Sep 2014 to Aug 2026Releases
latest 60 of 78-
v2.9.321 Aug 2026Release notes
Open source →What's Changed
- Scope
tymon.jwtinstance to resolve Laravel Octane persistence. by @yoramdelangen in #301
New Contributors
- @yoramdelangen made their first contribution in #301
Full Changelog: 2.9.2...v2.9.3
- Scope
-
2.9.207 May 2026Release notes
Open source →What's Changed
- fix: Prevent null pointer when provider cannot find a user for a token by @NielsJanssen in #300
Full Changelog: 2.9.1...2.9.2
-
2.9.104 May 2026Release notes
Open source →What's Changed
- feat: Trigger Authenticated event when loading user from token by @NielsJanssen in #298
New Contributors
- @NielsJanssen made their first contribution in #298
Full Changelog: v2.9.0...2.9.1
-
v2.9.006 Mar 2026Release notes
Open source →What's Changed
- Updating composer and CI for Laravel 13 by @specialtactics in #297
Full Changelog: v2.8.3...v2.9.0
Release notes
Open source →Please see (https://github.com/PHP-Open-Source-Saver/jwt-auth/releases/tag/2.9.0)
Added
- Updating composer and CI for Laravel 13
-
v2.8.315 Oct 2025Release notes
Open source →What's Changed
- Implement config variable to allow iat to remain unchanged claim when refreshing a token by @robinnydahl in #269
New Contributors
- @robinnydahl made their first contribution in #269
Full Changelog: v2.8.2...v2.8.3
Release notes
Open source →Please see (https://github.com/PHP-Open-Source-Saver/jwt-auth/releases/tag/2.8.3)
Fixed
- Implement config variable to allow iat to remain unchanged claim when refreshing a token
-
v2.8.217 Mar 2025Release notes
Open source →Release notes
Open source →Please see (https://github.com/PHP-Open-Source-Saver/jwt-auth/releases/tag/2.8.2)
Fixed
- Fix PHPStan Issues
-
v2.8.128 Feb 2025Release notes
Open source →What's Changed
- Fixed the return type of getMinutesUntilExpired in BlackList, which returned a float instead of an int when using Carbon v2 by @jonkerw85 in #286
New Contributors
- @jonkerw85 made their first contribution in #286
Release notes
Open source →Please see (https://github.com/PHP-Open-Source-Saver/jwt-auth/releases/tag/2.8.1)
Fixed
- Fixed the return type of getMinutesUntilExpired in BlackList, which returned a float instead of an int when using Carbon v2.
-
2.8.010 Feb 2025Release notes
Open source →What's Changed
- Fix Carbon not accepting string values by @mokhosh in #272
- don't show jwt secret if show option is false even if the key is updated by @kbiits in #275
- Override "id" method in JWTGuard by @mabdullahsari in #278
- Updates for Laravel 12 by @specialtactics in #279
New Contributors
- @mokhosh made their first contribution in #272
- @kbiits made their first contribution in #275
- @mabdullahsari made their first contribution in #278
Full Changelog: 2.7.3...2.8.0
Release notes
Open source →Please see (https://github.com/PHP-Open-Source-Saver/jwt-auth/releases/tag/2.8.0)
Added
- #268 Implement config variable to allow iat to remain unchanged claim when refreshing a token
- Adds support for Laravel 12
- Adds CI testing for PHP 8.4
- Don't show jwt secret if show option is false even if the key is updated
- Casts config ints to int by default in new config file publishes
- Override "id" method in JWTGuard
Removed
- Dropping support for PHP 8.1, if you are still on this version, please update your PHP version in order to use the latest version of this package.
-
2.7.330 Dec 2024Release notes
Open source →What's Changed
- Update phpstan/phpstan requirement from ^1 to ^2 by @dependabot in #273
Full Changelog: 2.7.2...2.7.3
-
2.7.227 Sep 2024Release notes
Open source →Added
- Add
cookie_key_nameconfig to customize cookie name for authentication - Delegate
Auth::id()calls to the newly addedgetUserIdmethod
- Add
-
2.7.125 Jul 2024Nothing published for this version
-
2.7.024 Jul 2024 -
2.6.011 Jul 2024 -
2.5.003 Jul 2024 -
2.4.027 May 2024Release notes
Open source →Added
- Support for lcobucci/jwt^5.0 (and dropped support for ^4.0)
- SetSecret regenerates config with new secret in the Lcobucci provider
-
2.3.008 Apr 2024Release notes
Open source →Added
- Support for Carbon 3 (and drop Carbon 1, but it was unused anyway)
Removed
- Dropped support for Laravel < 10 and PHP < 8.1
Fixed
- Use
idclaim for identify user ifsubdoesn't exists.
-
2.2.219 Mar 2024Nothing published for this version
-
2.2.117 Mar 2024Nothing published for this version
-
2.2.012 Mar 2024Release notes
Open source →Added
- Different TTL configurations for each guard
- lcobucci/jwt: add array support for
audclaim - Laravel 11 support
-
2.1.017 Feb 2023 -
2.0.008 Sep 2022 -
2.0.0-RC125 Aug 2022 pre-releaseRelease notes
Open source →Added
- Adds Octane Compatibility
- Added
ask-passphraseparameter to generating certs command - Support autocomplete guard
Fixed
- Default config value for
show_black_list_exceptionchanged to true - Auth header not ignoring other auth schemes
- Fixed replacing of values using regex
-
1.4.222 Apr 2022Release notes
Open source →Added
- Added exception if secret key or private/public key are missing
Fixed
- Add command for generating certs
-
1.4.124 Jan 2022 -
1.4.018 Jan 2022Release notes
Open source →Added
Fixed
- Fixes #101 - Secret is not nullable but should be according to the library config boilerplate
- Fixes #99 - Steps for migrating from tymons package
-
1.3.013 Jan 2022Release notes
Open source →Added
- PHP 8.1 support (#58, #77, #87)
- Typed variables (#52)
Fixed
- Compatability with Laravel 6 versions below 6.15
-
1.2.016 Nov 2021 -
1.1.121 Oct 2021Release notes
Open source →Changed
- Blacklisted token exception no more thrown by default by @Messhias in #32
Fixed
- ECDSA signers by @josecl in #31
-
1.1.011 Oct 2021Release notes
Open source →Added
- PHP 8.0 and
lcobucci/jwtversion 4 compatability by @eschricker in #14 - Option to hide Blacklisted Token exception by @Messhias in #7
- Throw exception for invalid encrypted cookies by @eschricker in #22
Fixed
- Typo in tests by @eschricker in #23
- PHP 8.0 and
-
1.0.227 Nov 2020Nothing published for this version
-
1.0.108 Sep 2020Nothing published for this version
-
1.0.004 Mar 2020Nothing published for this version
-
1.0.0-rc.5.121 Jan 2020 pre-releaseNothing published for this version
-
1.0.0-rc.509 Sep 2019 pre-releaseNothing published for this version
-
1.0.0-rc.4.114 Mar 2019 pre-releaseNothing published for this version
-
1.0.0-rc.405 Mar 2019 pre-releaseNothing published for this version
-
1.0.0-rc.304 Sep 2018 pre-releaseNothing published for this version
-
1.0.0-rc.207 Feb 2018 pre-releaseNothing published for this version
-
1.0.0-rc.130 Aug 2017 pre-releaseNothing published for this version
-
1.0.0-beta.325 Mar 2017 pre-releaseNothing published for this version
-
1.0.0-beta.230 Jan 2017 pre-releaseNothing published for this version
-
1.0.0-beta.120 Nov 2016 pre-releaseNothing published for this version
-
1.0.0-alpha102 Mar 2016 pre-releaseNothing published for this version
-
1.0.0-alpha.305 Sep 2016 pre-releaseNothing published for this version
-
1.0.0-alpha.218 Apr 2016 pre-releaseNothing published for this version
-
0.5.1207 Jun 2017Nothing published for this version
-
0.5.1106 Apr 2017Nothing published for this version
-
0.5.1024 Jan 2017Nothing published for this version
-
0.5.918 Feb 2016Nothing published for this version
-
0.5.817 Feb 2016Nothing published for this version
-
0.5.716 Feb 2016Nothing published for this version
-
0.5.624 Nov 2015Nothing published for this version
-
0.5.515 Sep 2015Nothing published for this version
-
0.5.423 Jun 2015Nothing published for this version
-
0.5.323 Apr 2015Nothing published for this version
-
0.5.217 Apr 2015Nothing published for this version
-
0.5.107 Apr 2015Nothing published for this version
-
0.5.022 Feb 2015Nothing published for this version
-
0.4.320 Apr 2015Nothing published for this version
-
0.4.207 Apr 2015Nothing published for this version