imzeali/swift-api
Composer 安装命令:
composer require imzeali/swift-api
包简介
README 文档
README
A laravel restful api tool
composer require imzeali/swift-api
Then run these commands to publish assets and config:
php artisan vendor:publish --provider="SwiftApi\SwiftApiServiceProvider"
After run command you can find config file in config/api.php, in this file you can change the install directory,db connection or table names.
php artisan swift-api:install
Quick create api
php artisan swift-api:create-api test/tests --route --request --model
Start serve
php artisan serve
Then access http://localhost:8000/api/test/tests
Thank
The project was modified through laravel-admin
统计信息
- 总下载量: 92
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-09-28