jwt in laravel 8 code example
Example 1: laravel jwt
composer require tymon/jwt-auth
Example 2: jwt laravel
php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\LaravelServiceProvider"
Example 3: laravel jwt
'providers' => [
...
Tymon\JWTAuth\Providers\LaravelServiceProvider::class,
]
Example 4: jwt laravel
php artisan jwt:secret