jwt api authentication laravel 6 code example Example: laravel jwt token $ composer require tymon/jwt-auth:dev-develop --prefer-source