rozwell/ed25519-jwt
Ed25519 JWT
Instant Laravel/Lumen v9+ Ed25519 support for tymon/jwt-auth
Installation
1. Install using composer:
composer require rozwell/ed25519-jwt
2. Register service provider (Lumen only)
Add below line in bootstrap/app.php Service Providers section:
$app->register(Rozwell\Ed25519JWT\Providers\Ed25519JWTServiceProvider::class);
3. Change configuration (optional)
Change default configuration in .env:
JWT_ALGO=Ed25519
JWT_PUBLIC_KEY=ed25519.public
JWT_PRIVATE_KEY=ed25519.private
4. Generate keys with command:
php artisan jwt:keys
5. Ignore keys files
Add to .gitignore:
/storage/keys
Related Packages
alissonphp/lumen-api-skeleton
Lumen API skeleton with JWT to manager tokens, Socialite to OAuth Providers, Mon...
8
21
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.0.6 | ^8.0 | ^9.0| | MIT | |
| 1.0.5 | ^8.0 | ^9.0| | MIT | |
| 1.0.4 | ^8.0 | ^9.0| | MIT | |
| 1.0.3 | ^8.0 | ^9.0| | MIT | |
| 1.0.2 | ^8.0 | ^9.0| | MIT | |
| 1.0.1 | ^8.0 | ^9.0| | MIT | |
| 1.0.0 | ^8.0 | ^9.0| | MIT |