composer require tymon/jwt-auth laravel 8 code example Example: laravel 6 tymon/jwt-auth composer require tymon/jwt-auth