bisual / jwt-static-token-hybrid-auth
JSON Web Token Authentication for Laravel and Lumen
Requires
- php: ^7.4|^8.0
- ext-json: *
- illuminate/auth: ^6|^7|^8.67|^9
- illuminate/contracts: ^6|^7|^8.67|^9
- illuminate/http: ^6|^7|^8.67|^9
- illuminate/support: ^6|^7|^8.67|^9
- lcobucci/jwt: ^4.0
- namshi/jose: ^7.0
- nesbot/carbon: ^1.0|^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3
- illuminate/console: ^6|^7|^8.67|^9
- illuminate/routing: ^6|^7|^8.67|^9
- mockery/mockery: ^1.4.4
- orchestra/testbench: ^4.18|^5.8|^6.3|^7
- phpstan/phpstan: ^1
- phpunit/phpunit: ^8.5|^9.4
- rector/rector: ^0.12.4
- vlucas/phpdotenv: ^5.2.0
- yoast/phpunit-polyfills: ^1.0.2
This package is auto-updated.
Last update: 2024-11-11 19:56:59 UTC
README
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
withbisual\JWTAuth
.Tip: You can use Find and Replace feature of your IDE. Try it with Ctrl + Shift + R
- Run
composer require bisual/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)