mhndev / saman-travel
library for saman travel insurance api (travisa)
README
What is travisa php package
This package has been designed to use travisa travel insurance easy and fast;
How to use ...
Creating a new instance of object$azki_travisa = new SamanTravelSoapClient('****', '****');
Getting List Of Countries
$countries = $azki_travisa->getCountries();
Here is a sample output of getCountries
stdClass Object ( [getCountriesResult] => stdClass Object ( [TISCountryInfo] => Array ( [0] => stdClass Object ( [errorCode] => -1 [errorText] => [code] => 2 [title] => آلمان [zoneCode] => -1 [standardCode] => DE ) [1] => stdClass Object ( [errorCode] => -1 [errorText] => [code] => 3 [title] => انگلستان [zoneCode] => -1 [standardCode] => UK ) [2] => stdClass Object ( [errorCode] => -1 [errorText] => [code] => 4 [title] => ايتاليا [zoneCode] => -1 [standardCode] => IT ) ) ) )