Releases: SPie/laravel-jwt
Releases · SPie/laravel-jwt
v3.5.0
New JsonTokenProvider
The JsonTokenProvider
got added to be able to handle tokens within json in the body.
Enable Laravel 9 components
v3.3.0 Allow php >= 8.0.0 and laravel 9 components.
lcobucci/jwt 4.0
Requires lcobucci/jwt
^4.0 and nesbot/carbon
^2.0 now.
Laravl 8 Support
v3.1.0 Laravel 8 support
Fix ServiceProvider
JWTGuard is now registered for the guard registered in the auth manager.
Removed refresh the request after creating the JWTGuard, because it already gets the request injected.
V3
JWTGuard extends the Laravel StatefulGuard now. Also, other features from Laravel are used instead of custom ones (like Laravels events for login, login attempt, failed login...). This Guard should more interchangeable now.
Also, the middleware is not responsible for authentication anymore. Just for attaching the JWT to the response
The package should be more simple to use within Laravel now.
PHP 7.4 is required now.