A tutorial on how to integrate Passport package and protect API's created in Laravel
- After cloning this repository, go to the root folder, run the following command/s,
composer install composer update
- Rename .env.example to .env and provide your database details there.
- Passport creates few database tables. Run
php artisan migrateto import the tables.
php artisan key:generate
- Now follow the tutorial at https://justlaravel.com/integrate-passport-laravel-api/