Core API Trademarket ##in Lumen PHP Framework using lumen-passport & dingo-api
Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. Documentation for the framework can be found on the Lumen website.
Lumen PHP Framework version 5.4.*
##About
This is simple implementation of dusterio/lumen-passport and dingo/api inside Lumen PHP Framework.
- Client Credentials
- Authorization Code
- Refresh Token
Authorization Code grant is automatically executed after logging in a user in this implementation, so you will not have any authorization approval user interface.
Run composer install from the command line
composer install
Copy file environment .env.example to .env & set database
Run migration from the command line
php artisan migrate
Install encryption keys and other necessary stuff for Passport
php artisan passport:install