PHP code example of dataplans / dataplans-php

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

    

dataplans / dataplans-php example snippets


define('DATAPLANS_TOKEN', '***'); // Access token
define('DATAPLANS_API_MODE', 'sandbox'); // Allow sandbox or esim
define('DATAPLANS_API_VERSION', 1); // API version