Package Data | |
---|---|
Maintainer Username: | jessekoska |
Maintainer Contact: | jessekoska@gmail.com (Jesse Koska) |
Package Create Date: | 2016-08-10 |
Package Last Update: | 2016-08-17 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-19 03:13:33 |
Package Statistics | |
---|---|
Total Downloads: | 448 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Swagger UI for Lumen 5
Martin Abelson Sahlen style of swagger-ui implemented.
composer require "jessekoska/swagger-ui-lumen dev-master"
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);
php artisan swagger-ui-lumen:publish-config
to publish configs (config/swagger-ui-lumen.php
)php artisan swagger-ui-lumen:publish
to publish