2017 © Pedro Peláez
 

library api-manager

Generator Laravel api resource

image

flipboxstudio/api-manager

Generator Laravel api resource

  • Wednesday, August 31, 2016
  • by krisanalfa
  • Repository
  • 6 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Rest Api Structure for Laravel

Build Rest Api with laravel v.5.3 with easy way., (*1)

Features

  • Versioning API
  • Enabled/Disabled API or Some version
  • Generate Controller or Request (Based artisan make)

Installation

Require this package with composer:, (*2)

composer require flipboxstudio/api-manager

Add the ApiServiceProvider to the providers array in config/app.php, (*3)

Flipbox\ApiManager\ApiServiceProvider::class,

Copy the package resource to your application with the publish command:, (*4)

php artisan vendor:publish

And you are ready to build your API., (*5)

Using package

Make new api

with php artisan create new api, (*6)

php artisan api:new

that process will be generate Api\v1 folder in App\Http (You freely modify the namespace). And now you use that namespace to build your api. Go to http://yourbaseurl/api/v1, (*7)

Make Controller

generate new controller to api version, (*8)

php artisan api:make controller Auht/AuthController v1

this process will make new controller in v1, (*9)

Make Request

generate new request to api version, (*10)

php artisan api:make request Auht/LoginRequest v1

this process will make new request in v1, (*11)

The Versions

31/08 2016

dev-develop

dev-develop

Generator Laravel api resource

  Sources   Download

MIT

The Requires

 

by Denma Syarikin

31/08 2016

dev-master

9999999-dev

Generator Laravel api resource

  Sources   Download

MIT

The Requires

 

by Denma Syarikin

31/08 2016

0.0.1

0.0.1.0

Generator Laravel api resource

  Sources   Download

MIT

The Requires

 

by Denma Syarikin