why jwt instead of laravel authentication code example
Example 1: laravel 6 tymon/jwt-auth
composer require tymon/jwt-auth
Example 2: laravel JWTAuthentication
$ composer require tymon/jwt-auth:dev-develop --prefer-source
composer require tymon/jwt-auth
$ composer require tymon/jwt-auth:dev-develop --prefer-source