Skip to content
A tutorial on how to integrate Passport package and protect API's created in Laravel
Branch: master
Clone or download
Latest commit 2f8ddcd May 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Integrate Passport Package in Laravel APS's May 23, 2019
bootstrap Integrate Passport Package in Laravel APS's May 23, 2019
config Integrate Passport Package in Laravel APS's May 23, 2019
database Integrate Passport Package in Laravel APS's May 23, 2019
public Integrate Passport Package in Laravel APS's May 23, 2019
resources Integrate Passport Package in Laravel APS's May 23, 2019
routes Integrate Passport Package in Laravel APS's May 23, 2019
storage Integrate Passport Package in Laravel APS's May 23, 2019
tests Integrate Passport Package in Laravel APS's May 23, 2019
.editorconfig Integrate Passport Package in Laravel APS's May 23, 2019
.env.example Integrate Passport Package in Laravel APS's May 23, 2019
.gitattributes Integrate Passport Package in Laravel APS's May 23, 2019
.gitignore Integrate Passport Package in Laravel APS's May 23, 2019
README.md Create README.md May 23, 2019
artisan Integrate Passport Package in Laravel APS's May 23, 2019
composer.json Integrate Passport Package in Laravel APS's May 23, 2019
composer.lock Integrate Passport Package in Laravel APS's May 23, 2019
package.json Integrate Passport Package in Laravel APS's May 23, 2019
phpunit.xml Integrate Passport Package in Laravel APS's May 23, 2019
server.php Integrate Passport Package in Laravel APS's May 23, 2019
webpack.mix.js Integrate Passport Package in Laravel APS's May 23, 2019
yarn.lock Integrate Passport Package in Laravel APS's May 23, 2019

README.md

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 migrate to import the tables.
  • Run
    php artisan key:generate
  • Now follow the tutorial at https://justlaravel.com/integrate-passport-laravel-api/
You can’t perform that action at this time.