New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

qijitech/api-starter-kit

api starter kit
723 56
Install
composer require qijitech/api-starter-kit:dev-master
PHP:>=5.5.9
Last Updated:May 25, 2020
Links: GitHub  ·  Packagist
Maintainer: yangyugang

Overview

restful api library with laravel or lumen.

Installation

To install this package you will need:

  • 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.

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

Laravel

Open config/app.php and register the required service provider above your application providers.

'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:

php artisan vendor:publish

Lumen

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

Open bootstrap/app.php and register the required service provider.

$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.

Related Packages

railken/lara-eye
38,923 38
api
juampi92/api-resources

Manage your resources maintaining API versioning

934,433 111
tailflow/laravel-orion

Orion for Laravel allows you to build a fully featured REST API based on your El...

803,682 1,592
unlu/laravel-api-query-builder

Laravel API Query Builder Package.

720,455 329
juampi92/phecks

A package to run custom PHP checks

411,123 4