iget-master / api-base
There is no license information available for the latest version (dev-master) of this package.
An API Base for Laravel 5.2 API's
dev-master
2016-02-03 19:44 UTC
Requires
- php: >=7.0.0
- laravel/framework: 5.2.*
This package is auto-updated.
Last update: 2024-10-28 06:39:37 UTC
README
Description goes here.
Installation Guide
- Require
iget-master/api-base
on composer - Add the
Iget\ApiBase\ApiBaseServiceProvider::class
services provider onapp.php
configuration file.
Optional steps
Enable token based authentication
- Set
auth-token
as Guard Driver onauth.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