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