PHP code example of emerging-travel / papi-sdk-php

1. Go to this page and download the library: Download emerging-travel/papi-sdk-php 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/ */

    

emerging-travel / papi-sdk-php example snippets



use PAPI\APIv3\Client;

$client = new Client('1000:022a2cf1-d279-02f3-9c3c-596aa09b827b');

$overview = $client->overview()