1. Go to this page and download the library: Download ashampoo/ats-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/ */
ashampoo / ats-client example snippets
use Ashampoo\AtsClient\Contracts\AtsClientInterface;
class ExportController
{
public function __construct(private AtsClientInterface $ats) {}
public function __invoke()
{
$response = $this->ats->getTranslations(language: 'de');
return $response->json();
}
}
use Ashampoo\AtsClient\Facades\Ats;
$response = Ats::getLangInfo('de');