a-kurau / jwt-auth
JSON Web Token Authentication for Laravel and Lumen
Requires
- php: ^7.4|^8.0
- ext-json: *
- illuminate/auth: ^6|^7|^8.67|^9|^10
- illuminate/contracts: ^6|^7|^8.67|^9|^10
- illuminate/http: ^6|^7|^8.67|^9|^10
- illuminate/support: ^6|^7|^8.67|^9|^10
- 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|^10
- illuminate/routing: ^6|^7|^8.67|^9|^10
- mockery/mockery: ^1.4.4
- orchestra/testbench: ^4.18|^5.8|^6.3|^7|^8
- phpstan/phpstan: ^1
- phpunit/phpunit: ^8.5|^9.4|^10
- rector/rector: ^0.12.4
- vlucas/phpdotenv: ^5.2.0
- yoast/phpunit-polyfills: ^1.0.2
- dev-main
- 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-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-30 14:44:52 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)