A few of the xero api's on github (calcinai/xero-php) talk about using composer.
Is it possible to use xero api without installing composer? If so I haven't worked out how...
This is what I have at the moment using the above mentioned package, not using my exact $config settings.
$config = [
'oauth' => [
'callback' => "https://www.website.com.au/test.php",
'consumer_key' => '00000000000000000000',
'consumer_secret' => '00000000000000000000',
'signature_location' =>\XeroPHP\Remote\OAuth\Client::SIGN_LOCATION_QUERY,
],
'curl' => [
CURLOPT_USERAGENT => 'XeroPHP Sample App',
CURLOPT_CAINFO => 'src/XeroPHP/certs/ca-bundle.crt'
]
];
$xero = new src\XeroPHP\Application\PublicApplication($config);
$contacts = $xero->load(Contact::class)->execute();
foreach ($contacts as $contact) {
print_r($contact);
}