Jwt with Laravel 8 code example Example 1: jwt laravel php artisan jwt:secret Example 2: laravel jwt composer require tymon/jwt-auth