Search by

shadow-software / agt-php-sdk

shadowsoftware

PHP SDK for the American Gun Trader Dealer API

Package info

github.com/shadow-software/agt-php-sdk

Homepage

pkg:composer/shadow-software/agt-php-sdk

Statistics

Installs: 96

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

3.10.0 2026-08-05 19:08 UTC

This package is auto-updated.

Last update: 2026-09-28 11:35:08 UTC


README

shadow-software/agt-php-sdk — by Shadow Software

AGT PHP SDK

Official PHP client for the American Gun Trader Dealer API.
Generated from OpenAPI — namespace ShadowSoftware\Agt.

Packagist PHP License Shadow Software

Platform  ·  API docs  ·  TypeScript SDK  ·  WooCommerce plugin

Install

composer require shadow-software/agt-php-sdk

Requires PHP 8.1+. Published on Packagist.

Usage

use ShadowSoftware\Agt\Configuration;
use ShadowSoftware\Agt\Api\DealerListingApi;

$config = Configuration::getDefaultConfiguration()
    ->setHost('https://americanguntrader.com')
    ->setAccessToken($accessToken);

$api = new DealerListingApi(null, $config);

For official smoke tests, load the private AGT_SANDBOX_API_KEY from the secret store and never place it in source control. The stable sandbox account and hourly reconciliation rules are documented in the official sandbox guide.

Do not edit generated/ by hand. Spec updates are regenerated by shadow-software/sdk-release and tagged releases update Packagist automatically.

WordPress

The free AGT Sync for WooCommerce plugin depends on this package (^0.2) and ships vendor/ in its release ZIP.

License

MIT © Shadow Software LLC.

AGT ecosystem

americanguntrader.com Marketplace & dealer accounts
Dealer API docs API reference & OpenAPI spec
@shadow-software/agt-sdk TypeScript SDK (npm)
AGT Sync for WooCommerce WordPress / WooCommerce plugin

shadowsoftware.com · MIT · © 2026 Shadow Software LLC