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

Jwt Auth Laravel Package

php-open-source-saver/jwt-auth

Laravel JWT authentication package (fork of tymondesigns/jwt-auth) maintained by PHP Open Source Saver. Provides the same API with a new namespace, easy migration, and adds new features and ongoing support. Full docs available online.

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.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor