2017 © Pedro Peláez
 

package swagger-php

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

image

epfremme/swagger-php

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

  • Monday, February 19, 2018
  • by epfremmer
  • Repository
  • 4 Watchers
  • 12 Stars
  • 14,060 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 5 Forks
  • 4 Open issues
  • 10 Versions
  • 44 % Grown

The README.md

Swagger PHP

Library for parsing swagger documentation into PHP entities for use in testing and code generation, (*1)

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:, (*2)

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, (*3)

swagger.io, (*4)

Support

Currently only swagger version 2.0 is supported in both JSON and YAML format, (*5)

The Versions

19/02 2018

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Edward Pfremmer

26/09 2016

v2.0.0

2.0.0.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Edward Pfremmer

02/05 2016

v1.0.1

1.0.1.0

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

  Sources   Download

Nerdery

The Requires

 

The Development Requires

by Edward Pfremmer

27/02 2016

v1.0.0

1.0.0.0

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

  Sources   Download

Nerdery

The Requires

 

The Development Requires

by Edward Pfremmer

01/12 2015

v0.2.3

0.2.3.0

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

  Sources   Download

Nerdery

The Requires

 

The Development Requires

by Edward Pfremmer

03/07 2015

v0.2.2

0.2.2.0

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

  Sources   Download

Nerdery

The Requires

 

The Development Requires

by Edward Pfremmer

03/07 2015

v0.2.1

0.2.1.0

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

  Sources   Download

Nerdery

The Requires

 

The Development Requires

by Edward Pfremmer

02/07 2015

v0.2.0

0.2.0.0

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

  Sources   Download

Nerdery

The Requires

 

The Development Requires

by Edward Pfremmer

29/06 2015

v0.1.1

0.1.1.0

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

  Sources   Download

MIT

The Requires

 

The Development Requires

by Edward Pfremmer