PHP code example of halimzidoune / laravel-postman-api
1. Go to this page and download the library: Download halimzidoune/laravel-postman-api 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/ */
halimzidoune / laravel-postman-api example snippets
return [
'base_url' => 'http://localhost:8000', // API Host url
'export_folder' => 'postman', // The destination folder where the collection.json file will be generated
];
bash
php artisan vendor:publish --tag="postman-api-config"