shadow-software / agt-php-sdk
PHP SDK for the American Gun Trader Dealer API
Requires
- php: ^8.1
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/psr7: ^1.7 || ^2.0
Requires (Dev)
- phpunit/phpunit: ^10.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-28 11:35:08 UTC
README
AGT PHP SDK
Official PHP client for the
American Gun Trader Dealer API.
Generated from OpenAPI — namespace ShadowSoftware\Agt.
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
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