1. Go to this page and download the library: Download ocolin/tarana-tsp 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/ */
ocolin / tarana-tsp example snippets
// Manual creation for demonstration
$_ENV['TARANA_TSP_API_HOST'] = 'https://api.tsp.taranawireless.com/';
$_ENV['TARANA_TSP_API_TOKEN'] = 'abcdefg';
$tarana = new Ocolin\TaranaTSP\TaranaTSP();
$tarana = new Ocolin\TaranaTSP\TaranaTSP(
host: 'https://api.tsp.taranawireless.com/',
token: 'abcdefg'
);