dotsplatform/catalog-api-sdk
Larablocks Analysis
dotsplatform/catalog-api-sdk works with Laravel 4 to 13 (latest release 1.0.2, Aug 11, 2026).
Recommendation checks
PromisingPromising: maintained and up to date, meets 2 of 4 checks; not yet widely used.
- Works with Laravel 13, the current version
- Released in the last 12 months (Aug 11, 2026)
- 790 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Aug 11, 2026.
- 3 releases in the last 12 months.
- First released: Aug 7, 2026.
- Monthly downloads: 790.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 30, 2026.
| Install | |
|---|---|
composer require dotsplatform/catalog-api-sdk |
|
| Latest Version: | 1.0.2 |
| PHP: | ^8.1|^8.2|^8.3|^8.4|^8.5 |
| Laravel: | 4 – 13 |
| License: | MIT |
| Last Updated: | Aug 11, 2026 |
| Links: | GitHub · Packagist |
catalog-api-sdk
Typed PHP client for the Dots Catalog Integration API (catalog-api).
use Dotsplatform\CatalogApiSdk\Client\CatalogClient;
use Dotsplatform\CatalogApiSdk\DTO\Params\CatalogAuthContext;
use Dotsplatform\CatalogApiSdk\DTO\Params\CatalogBatchParams;
$auth = CatalogAuthContext::fromArray([
'accountId' => $accountId,
'companyId' => $companyId,
'companyAddressId' => $addressId,
'headers' => [
'X-Internal-Gateway-Token' => config('catalog.internal_gateway_token'),
'Idempotency-Key' => $key,
],
]);
$result = app(CatalogClient::class)->upsertItems($auth, CatalogBatchParams::fromArray([
'items' => [$row1, $row2],
]));
$result->getBatchId();
The account/company/company-address context travels in the URL path
(accounts/{account}/companies/{company}/company-addresses/{companyAddress});
headers carry only the gateway token and optional Idempotency-Key / Api-Lang.
Bind in the consumer: CatalogClient::class => CatalogHttpClient::class, set
RESOURCES_CATALOG_EXTERNAL_HOST, and (in clients-api) forward the gateway
headers. Tests bind SuccessCatalogStubClient / FailCatalogStubClient.
The SDK is pure transport — it never verifies partner tokens; it forwards the headers the caller supplies.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.0.2 | ^8.1| | * | MIT | |
| 1.0.1 | ^8.1| | * | MIT | |
| 1.0.0 | ^8.1| | * | MIT |