New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

dotsplatform/catalog-api-sdk

SDK for the Dots Catalog Integration API (catalog-api).
1,090

Larablocks Analysis

dotsplatform/catalog-api-sdk works with Laravel 4 to 13 (latest release 1.0.2, Aug 11, 2026).

Promising: 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
Maintainer: dotsplatfolrm

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

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

670,032,257 9,703
laravel/framework

The Laravel Framework.

640,572,096 35,338
laravel/tinker

Powerful REPL for the Laravel framework.

546,909,908 7,440
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

465,816,364 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

431,187,642 4,660

Version History

Version Released PHP Laravel License
1.0.2 ^8.1|^8.2|^8.3|^8.4|^8.5 * MIT
1.0.1 ^8.1|^8.2|^8.3|^8.4|^8.5 * MIT
1.0.0 ^8.1|^8.2|^8.3|^8.4|^8.5 * MIT