atellitech/gtm-sdk-php

There is no license information available for the latest version (1.0.1) of this package.
Maintainers

👁 atellitech

Package info

github.com/AtelliTech/gtm-sdk-php

pkg:composer/atellitech/gtm-sdk-php

Statistics

Installs: 13

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.1 2024-08-12 19:43 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Unknown License 4343eff6a23ce27d33cbbdcf95079b7e39d7f0d4

  • Edward Ai <edward.ai.woop@adgeek.com.tw>

This package is auto-updated.

Last update: 2026-06-12 23:26:52 UTC


README

Installation

You can use Composer or simply Download the Release

Composer

The preferred method is via composer. Follow the installation instructions if you do not already have composer installed.

Once composer is installed, execute the following command in your project root to install this library:

composer require backend/gtm-sdk

Finally, be sure to include the autoloader:

require_once '/path/to/your-project/vendor/autoload.php';

Usage

$clientService = new Client();

$clientService->setClientId('{client-id}']);
$clientService->setClientSecret('{client-secret}']);
$clientService->setDeveloperKey('{developer-token}']);
$clientService->setScopes('{scopes}']);

$clientService->setRefreshToken('{token}');


$client = $clientService->generate();


$accountId = '{account_id}';

$accountData = (new Accounts($client))->get($accountId);