Package Data | |
---|---|
Maintainer Username: | yangyugang |
Maintainer Contact: | smartydroid@gmail.com (YuGang Yang) |
Package Create Date: | 2015-12-08 |
Package Last Update: | 2020-05-25 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-12-19 03:02:58 |
Package Statistics | |
---|---|
Total Downloads: | 721 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 56 |
Total Watchers: | 4 |
Total Forks: | 5 |
Total Open Issues: | 0 |
restful api library with laravel or lumen.
To install this package you will need:
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"
}
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
"require": {
"qijitech/api-starter-kit": "dev-lumen"
}
Open bootstrap/app.php and register the required service provider.
$app->register(Api\StarterKit\Providers\LumenServiceProvider::class)
You can find the sample code here. Note that you'll need to run composer install to install all the dependencies.