2017 © Pedro Peláez
 

library swagger-lume

image

jessekoska/swagger-lume

  • Sunday, April 1, 2018
  • by jessekoska
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 33 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

SwaggerLume

Swagger 2.0 for Lumen 5, (*1)

This package is a wrapper of Swagger-php and swagger-ui adapted to work with Lumen 5., (*2)

Martin Abelson Sahlen version of swagger-ui implemented., (*3)

Installation

    composer require "jessekoska/swagger-lume dev-master"
  • Open your bootstrap/app.php file and:

uncomment this line (around line 26) in Create The Application section:, (*4)

     $app->withFacades();

add this line before Register Container Bindings section:, (*5)

     $app->configure('swagger-lume');

add this line in Register Service Providers section:, (*6)

    $app->register(\SwaggerLume\ServiceProvider::class);
  • Run php artisan swagger-lume:publish-config to publish configs (config/swagger-lume.php)
  • Make configuration changes if needed
  • Run php artisan swagger-lume:publish to publish everything

Configuration

  • Run php artisan swagger-lume:publish-config to publish configs (config/swagger-lume.php)
  • Run php artisan swagger-lume:publish-assets to publish swagger-ui to your public folder (public/vendor/swagger-lume)
  • Run php artisan swagger-lume:publish-views to publish views (resources/views/vendor/swagger-lume)
  • Run php artisan swagger-lume:publish to publish everything
  • Run php artisan swagger-lume:generate to generate docs

Swagger-php

The actual Swagger spec is beyond the scope of this package. All SwaggerLume does is package up swagger-php and swagger-ui in a Laravel-friendly fashion, and tries to make it easy to serve. For info on how to use swagger-php look here. For good examples of swagger-php in action look here., (*7)

The Versions

01/04 2018

v1.1.7

1.1.7.0

  Sources   Download

01/04 2018

v2.0.24

2.0.24.0

  Sources   Download

08/08 2016

dev-master

9999999-dev

Swagger integration to Lumen 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Darius Matulionis
by Jesse Koska
by Martin Abelson Sahlen

laravel lumen swagger

08/08 2016

dev-develop

dev-develop

Swagger integration to Lumen 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Darius Matulionis
by Jesse Koska
by Martin Abelson Sahlen

laravel lumen swagger

09/05 2016

v0.1

0.1.0.0

Swagger integration to Lumen 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Darius Matulionis

laravel lumen swagger

09/05 2016

1.0.3

1.0.3.0

Swagger integration to Lumen 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Darius Matulionis

laravel lumen swagger

30/01 2016

1.0.2

1.0.2.0

Swagger integration to Lumen 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Darius Matulionis

laravel lumen swagger

28/01 2016

1.0.1

1.0.1.0

Swagger integration to Lumen 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Darius Matulionis

laravel lumen swagger

24/01 2016

1.0

1.0.0.0

Swagger integration to Lumen 5

  Sources   Download

MIT

The Requires

 

The Development Requires

by Darius Matulionis

laravel lumen swagger