PHP code example of giahojnost / lumen-swagger

1. Go to this page and download the library: Download giahojnost/lumen-swagger 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/ */

    

giahojnost / lumen-swagger example snippets


     $app->withFacades();

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

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

'swagger_version' => env('SWAGGER_VERSION', '3.0'),
bash
composer