/LaravelApiBoilerplate

This repo contain Laravel ready to use for build REST API - Presented by ngulicode

Primary LanguagePHP

Laravel Api Pre-Setup

Latest Stable Version License

This set-up contain :

  1. Repository design pattern
  2. Service desugn pattern
  3. Multi table OAuth 2.0 using Lravel Passport and smartins multi auth packages (https://github.com/sfelix-martins/passport-multiauth)
  4. Cors origin middleware
  5. Api format helper

How to Install

You can install this project like installing regular composer peoject:

  1. Install All depedency : composer Install
  2. Make .env file and setting database properly
  3. Generate app key : php artisan key:generate
  4. Re-cache config : php artisan config:cache
  5. Install passport client key : php artisan passport:install
  6. Migrate your database : php artisan migrate
  7. Seed dummy user : php artisan db:seeed

Presented by :

N|Solid

License

The Laravel framework is open-sourced software licensed under the MIT license.