2017 © Pedro Peláez
 

library api-starter-kit

api starter kit

image

qijitech/api-starter-kit

api starter kit

  • Tuesday, October 17, 2017
  • by yangyugang
  • Repository
  • 3 Watchers
  • 59 Stars
  • 495 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 3 Versions
  • 1 % Grown

The README.md

Overview

restful api library with laravel or lumen., (*1)

Installation

To install this package you will need:, (*2)

  • Laravel 5.1+ or Lumen 5.1+
  • PHP 5.5.9+

You must then modify your composer.json file and run composer update to include the latest version of the package in your project., (*3)

"require": {
    "qijitech/api-starter-kit": "dev-master"
}

Laravel

Open config/app.php and register the required service provider above your application providers., (*4)

'providers' => [
    Api\StarterKit\Providers\ApiStarterKitServiceProvider::class
]

If you'd like to make configuration changes in the configuration file you can pubish it with the following Aritsan command:, (*5)

php artisan vendor:publish

Lumen

"require": {
    "qijitech/api-starter-kit": "dev-lumen"
}

Open bootstrap/app.php and register the required service provider., (*6)

$app->register(Api\StarterKit\Providers\LumenServiceProvider::class)

Sample Code

You can find the sample code here. Note that you'll need to run composer install to install all the dependencies., (*7)

The Versions