PHP code example of lumen-utils / swagger-lumen
1. Go to this page and download the library: Download lumen-utils/swagger-lumen library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lumen-utils / swagger-lumen example snippets
$app->withFacades();
$app->configure('swagger-lume');
$app->register(\SwaggerLume\ServiceProvider::class);
'swagger_version' => env('SWAGGER_VERSION', '3.0'),
bash
composer