pinvandaag/p-market-api-develop-php

A PHP wrapper for the PAXSTORE Developer API

Maintainers

Package info

github.com/Pin-Voordeel-Bv/p-market-api-develop-php

pkg:composer/pinvandaag/p-market-api-develop-php

Transparency log

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.1.2 2026-07-13 08:52 UTC

This package is not auto-updated.

Last update: 2026-07-27 09:18:26 UTC


README

A PHP wrapper for the PAXSTORE Developer API.

Installation

composer require pinvandaag/p-market-api-develop-php

Configuration

use PinVandaag\PMarketAPIDevelop\PMarketAPIDevelopClient;

$client = (new PMarketAPIDevelopClient())->configure(
    baseUri: 'https://api.whatspos.com/p-market-api',
    apiKey: $_ENV['P_MARKET_DEVELOP_API_KEY'],
    apiSecret: $_ENV['P_MARKET_DEVELOP_API_SECRET'],
    timeZone: 'Europe/Amsterdam',
    contentLanguage: 'en',
);

Structure

  • PMarketAPIDevelopClient: public facade, matching the original package.
  • Client\APIClient: authentication, HTTP requests, Symfony Serializer, exceptions, validation and multipart helpers.
  • Client\Traits\DeveloperApiTrait: all Developer API endpoint implementations.
  • Model: request and response DTOs.

Authentication follows the official PAX Developer Java SDK: devKey and millisecond timestamp are appended to the query string, and the uppercase MD5 of queryString + apiSecret is sent in the signature header.

updateAppKeySecret() expects appKey and appSecret already encrypted with the Java SDK-compatible AES/SHA1PRNG implementation.