Weave 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

Jwt Auth Laravel Package

php-open-source-saver/jwt-auth

Maintained fork of tymondesigns/jwt-auth providing JWT authentication for Laravel. Same API with the PHPOpenSourceSaver\JWTAuth namespace, making migration easy, plus ongoing support and full documentation.

View on GitHub
Deep Wiki
Context7
2.8.0

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.2

Added

  • Add cookie_key_name config to customize cookie name for authentication
  • Delegate Auth::id() calls to the newly added getUserId method
2.7.0

Fixed

  • Support for Carbon 3 alongside Carbon 2
2.6.0

Added

  • New getUserId method
2.5.0

Added

  • Refresh iat claim when refreshing a token
2.4.0

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.0

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 id claim for identify user if sub doesn't exists.
2.2.0

Added

  • Different TTL configurations for each guard
  • lcobucci/jwt: add array support for aud claim
  • Laravel 11 support
2.1.0

Added

  • Laravel 10 support
2.0.0
  • No changes to 2.0.0-RC1

Added

  • Arabic translation for docs by hawkiq
2.0.0-RC1

Added

  • Adds Octane Compatibility
  • Added ask-passphrase parameter to generating certs command
  • Support autocomplete guard

Fixed

  • Default config value for show_black_list_exception changed to true
  • Auth header not ignoring other auth schemes
  • Fixed replacing of values using regex
1.4.2

Added

  • Added exception if secret key or private/public key are missing

Fixed

  • Add command for generating certs
1.4.1

Fixed

  • Add more ReturnTypeWillChange for PHP 8.1 compatibility
1.4.0

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.0

Added

  • PHP 8.1 support (#58, #77, #87)
  • Typed variables (#52)

Fixed

  • Compatability with Laravel 6 versions below 6.15
1.2.0

Added

1.1.0

Added

  • PHP 8.0 and lcobucci/jwt version 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

1.1.1

Changed

  • Blacklisted token exception no more thrown by default by @Messhias in #32

Fixed

2.9.0

Please see (https://github.com/PHP-Open-Source-Saver/jwt-auth/releases/tag/2.9.0)

Added

  • Updating composer and CI for Laravel 13
2.8.3

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
2.8.2
2.8.1

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.
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.
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource