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