PHP code example of onex / espier-swagger
1. Go to this page and download the library: Download onex/espier-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/ */
onex / espier-swagger example snippets
$app->register(Espier\Swagger\Providers\SwaggerServiceProvider::class);
php artisan api:swagger --setup
php artisan api:swagger --output=[/path/to/project];
php artisan api:swagger --mock-server-start