PHP code example of bhaktaraz / php-waveapp-client

1. Go to this page and download the library: Download bhaktaraz/php-waveapp-client 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/ */

    

bhaktaraz / php-waveapp-client example snippets


composer 

$waveapp = new \Bhaktaraz\WaveApp\WaveApp();
$countries = $waveapp->countries();

--- OR ---

$country = $waveapp->country(['code' => 'US']);