PHP code example of webscientist / postman-laravel

1. Go to this page and download the library: Download webscientist/postman-laravel 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/ */

    

webscientist / postman-laravel example snippets


     'providers' => [
        ...
        ...
        WebScientist\PostmanLaravel\PostmanLaravelServiceProvider::class,
    ],
    

'variables' => [
    [
        'key' => 'BASE_URL',
        'value' => env('APP_URL', ''),
        'type' => 'default',
        'enabled' => true,
    ],
    // Other Variables
]
bash
    php artisan vendor:publish --tag=postman-laravel
    
bash
    php artisan postman:create
    
bash
    php artisan postman:export