php-open-source-saver / jwt-auth
JSON Web Token Authentication for Laravel and Lumen
Installs: 5 327 201
Dependents: 46
Suggesters: 5
Security: 0
Stars: 723
Watchers: 16
Forks: 113
Open Issues: 18
Requires
- php: ^8.1
- ext-json: *
- illuminate/auth: ^10|^11
- illuminate/contracts: ^10|^11
- illuminate/http: ^10|^11
- illuminate/support: ^10|^11
- lcobucci/jwt: ^5.0
- namshi/jose: ^7.0
- nesbot/carbon: ^2.0|^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3
- illuminate/console: ^10|^11
- illuminate/routing: ^10|^11
- mockery/mockery: ^1.4.4
- orchestra/testbench: ^8|^9
- phpstan/phpstan: ^1
- phpunit/phpunit: ^10.5|^11
- dev-main
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.x-dev
- 2.0.0
- 2.0.0-RC1
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.03
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-rc.5.1
- 1.0.0-rc.5
- 1.0.0-rc.4.1
- 1.0.0-rc.4
- 1.0.0-rc.3
- 1.0.0-rc.2
- 1.0.0-rc.1
- 1.0.0-beta.3
- 1.0.0-beta.2
- 1.0.0-beta.1
- 1.0.0-alpha.3
- 1.0.0-alpha.2
- 1.0.0-alpha1
- 0.5.12
- 0.5.11
- 0.5.10
- 0.5.9
- 0.5.8
- 0.5.7
- 0.5.6
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.12
- 0.3.11
- 0.3.10
- 0.3.9
- 0.3.8
- 0.3.7
- 0.3.6
- 0.3.5
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.0
- 0.1.0
- dev-dependabot/composer/phpstan/phpstan-tw-2
- dev-bugfix/260-carbon-diffin-methods
- dev-hotfix/fix-php-8.1-warnings
- dev-hotfix/phpunit-comments-8.1
- dev-feature/coverage
- dev-dependabot/add-v2-config-file
This package is auto-updated.
Last update: 2024-11-11 23:26:03 UTC
README
Credits
This repository is a fork from original tymonsdesigns/jwt-auth, we decided to fork and work independent because the original one was not being updated for long time and keep doing support for the application.
Migrating from tymondesigns/jwt-auth
This uses different namespace, then tymondesigns/jwt-auth
, but overall, provides the same API, that makes migration to this repository pretty easy:
- Run
composer remove tymon/jwt-auth
Info An error will appear because the package is still in use, ignore it.
- Replace all the occurrences of
Tymon\JWTAuth
withPHPOpenSourceSaver\JWTAuth
.Tip: You can use Find and Replace feature of your IDE. Try it with Ctrl + Shift + R
- Run
composer require php-open-source-saver/jwt-auth
Notes
Due to new features, added in our library, there are some incompatibilities. This won't hurt you in most cases, unless you have implicitly disabled autodiscovery for original Tymon's package.
Current compatability breaks:
JWTGuard
have new required constructor parameter$eventDispatcher
Documentation
Full documentation is available at laravel-jwt-auth.readthedocs.io
Security
If you want to disclose a security related issue, please follow our security policy
License
The MIT License (MIT)