This website is intended to demonstrate API Authentication using Laravel Passport as described in this post
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You need to install composer, XAMPP/WAMP/LAMP/Apache Server if you want to run it locally, and Postman (or any preferrable rest client) to test the API.
composer install
DB_DATABASE={database_name}
DB_USERNAME={username}
DB_PASSWORD={password}
php artisan migrate
php artisan passport:install
php artisan passport:keys
php artisan serve
- Laravel - The PHP Framework for Web Artisans
- Laravel Passport - A full OAuth2 server implementation for your Laravel application