jessekoska/swagger-ui-lumen

Swagger UI in Lumen 5
451 1
Install
composer require jessekoska/swagger-ui-lumen
PHP:>=5.5.9
License:MIT
Last Updated:Aug 17, 2016
Links: GitHub  ·  Packagist
Maintainer: jessekoska

SwaggerUILumen

Swagger UI for Lumen 5

Martin Abelson Sahlen style of swagger-ui implemented.

Installation

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

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

     $app->withFacades();

add this line before Register Container Bindings section:

     $app->configure('swagger-ui-lumen');

add this line in Register Service Providers section:

    $app->register(SwaggerUILumen\ServiceProvider::class);

Configuration

  • Run php artisan swagger-ui-lumen:publish-config to publish configs (config/swagger-ui-lumen.php)
  • Make configuration changes if needed
  • Run php artisan swagger-ui-lumen:publish to publish