iget-master / api-base by iget-master

An API Base for Laravel 5.2 API's
9
0
2
Package Data
Maintainer Username: iget-master
Maintainer Contact: esoares@iget.com.br (Elias Soares)
Package Create Date: 2016-02-03
Package Last Update: 2016-02-03
Language: PHP
License: Unknown
Last Refreshed: 2024-11-22 15:04:58
Package Statistics
Total Downloads: 9
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

API Base

Description goes here.

Installation Guide

  • Require iget-master/api-base on composer
  • Add the Iget\ApiBase\ApiBaseServiceProvider::class services provider on app.php configuration file.

Optional steps

Enable token based authentication

  • Set auth-token as Guard Driver on auth.php configuration file.
  • Use only Iget\ApiBase\Http\Middleware\Authenticate::class middleware on your API routes.

Configure User Provider to use our User model

  • Set Iget\ApiBase\Models\User as model on your user provider