LaravelPackages.net
Acme Inc.
Toggle sidebar
jessekoska/swagger-ui-lumen

Swagger UI in Lumen 5

452
1
About jessekoska/swagger-ui-lumen

jessekoska/swagger-ui-lumen is a Laravel package for swagger ui in lumen 5. It currently has 1 GitHub stars and 452 downloads on Packagist. Install it with composer require jessekoska/swagger-ui-lumen. Discover more Laravel packages by jessekoska or browse all Laravel packages to compare alternatives.

Last updated

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
Comments