rayo/laravel-swagger 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rayo/laravel-swagger

Composer 安装命令:

composer require rayo/laravel-swagger

包简介

A simple swagger integration with laravel

README 文档

README

A simple swagger integration with laravel

Installation

Require the package using composer:

composer require rayo/laravel-swagger

Publish the config file and view files using the following command:

php artisan vendor:publish --provider="Rayo\LaravelSwagger\SwaggerServiceProvider"

It will publish the config file swagger.php and the view file index.blade.php in the resources/views/vendor/laravel-swagger directory.

Usage

Drop your swagger json or yaml file in the storage/api-docs directory and update the config/swagger.php file with the file name.

return [
    'docs_yaml' => 'api-docs.yaml',

    'docs_json' => 'api-docs.json',
];

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-21