PHP code example of profclems / postman-collection-generator
1. Go to this page and download the library: Download profclems/postman-collection-generator 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/ */
profclems / postman-collection-generator example snippets
'providers' => [
...
\Profclems\PostmanCollectionGenerator\PostmanCollectionServiceProvider::class,
];
sh
php artisan postman:collection:export NameForCollection --api
sh
php artisan postman:collection:export NameForCollection --web