In this part we are going to cover the authentication for the user. For this we are going to use Laravel passport. Run the following command in order to install the package.
composer require laravel/passport
Now let’s configure each of the package starting with Laravel Passport, for that we are going to first run the migrations.
php artisan migrate