承接 epfremme/swagger-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

epfremme/swagger-php

最新稳定版本:v2.0.0

Composer 安装命令:

composer require epfremme/swagger-php

包简介

Library for parsing swagger documentation into PHP entities for use in testing and code generation

README 文档

README

Library for parsing swagger documentation into PHP entities for use in testing and code generation

Installation

  • Require package composer require epfremme/swagger-php
  • Install packages composer install

Basic Usage

Instantiate the swagger factory and pass it a valid swagger documentation file to parse:

use Epfremme\Swagger\Factory\SwaggerFactory;

$factory = new SwaggerFactory();
$swagger = $factory->build('/path/to/swagger/file.json');

// do stuff with your Swagger entity

Swagger Definitions

Visit the swagger specification for more information on creating valid swagger json/yaml documentation

swagger.io

Support

Currently only swagger version 2.0 is supported in both JSON and YAML format

统计信息

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

GitHub 信息

  • Stars: 32
  • Watchers: 4
  • Forks: 10
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-27