tripteki/laravelphp-docs
最新稳定版本:1.0.0
Composer 安装命令:
composer require tripteki/laravelphp-docs
包简介
Trip Teknologi's Codebase Convention
README 文档
README
Trip Teknologi's Codebase Convention.
Getting Started
Installation :
$ composer require tripteki/laravelphp-docs
How to use :
- Put
Tripteki\Docs\Providers\DocsServiceProvider::ignoreConfig()intoregisterprovider, then publish config file into your project's directory with running (optionally) :
php artisan vendor:publish --tag=tripteki-laravelphp-docs-config
- Put the comment onto the
App\Http\Controllers\Controller:
/**
* @OA\Info(
* title="Application Programming Interface",
* version="1.0"
* ),
* @OA\SecurityScheme(
* securityScheme="bearerAuth",
* in="header",
* type="http",
* scheme="bearer",
* bearerFormat="JWT"
* )
*/
Usage
php artisan swagger:generate
Author
- Trip Teknologi (@tripteki)
- Hasby Maulana (@hsbmaulana)
统计信息
- 总下载量: 237
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-28