machour/yii2-swagger-ui
最新稳定版本:1.0.0
Composer 安装命令:
composer require machour/yii2-swagger-ui
包简介
Yii 2 Swagger UI
README 文档
README
Swagger UI assets for Yii2.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist machour/yii2-swagger-ui "*"
or add
"machour/yii2-swagger-ui": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, you can register the Swagger UI assets in your application by doing:
machour\yii2\swagger\ui\SwaggerUiAsset::register($this);
A complete layout structure is available in the views directory for a complete working Swagger UI interface like their Pet Store.
This documentation is available online
统计信息
- 总下载量: 3.45k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-31