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