Download the PHP package epfremme/swagger-php without Composer
On this page you can find all versions of the php package epfremme/swagger-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download epfremme/swagger-php
More information about epfremme/swagger-php
Files in epfremme/swagger-php
Download epfremme/swagger-php
More information about epfremme/swagger-php
Files in epfremme/swagger-php
Vendor epfremme
Package swagger-php
Short Description Library for parsing swagger documentation into PHP entities for use in testing and code generation
License MIT
Package swagger-php
Short Description Library for parsing swagger documentation into PHP entities for use in testing and code generation
License MIT
Please rate this library. Is it a good library?
Informations about the package swagger-php
Swagger PHP
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
Support
Currently only swagger version 2.0 is supported in both JSON and YAML format
All versions of swagger-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
jms/serializer Version ^1.1
doctrine/collections Version ^1.3
doctrine/annotations Version ^1.2
symfony/yaml Version ^2.7|^3.1
phpoption/phpoption Version ^1.1
jms/serializer Version ^1.1
doctrine/collections Version ^1.3
doctrine/annotations Version ^1.2
symfony/yaml Version ^2.7|^3.1
phpoption/phpoption Version ^1.1
The package epfremme/swagger-php contains the following files
Loading the files please wait ....