https://github.com/avinashn/laravel-passport---api
A tutorial on how to integrate Passport package and protect API's created in Laravel
https://github.com/avinashn/laravel-passport---api
Last synced: over 1 year ago
JSON representation
A tutorial on how to integrate Passport package and protect API's created in Laravel
- Host: GitHub
- URL: https://github.com/avinashn/laravel-passport---api
- Owner: avinashn
- Created: 2019-05-15T06:36:16.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T22:27:47.000Z (over 3 years ago)
- Last Synced: 2025-01-20T20:33:19.688Z (over 1 year ago)
- Language: PHP
- Size: 1.55 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel-Passport---API
A tutorial on how to integrate Passport package and protect API's created in Laravel
## Prerequisites
- 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. - Run
php artisan key:generate
- Now follow the tutorial at https://justlaravel.com/integrate-passport-laravel-api/