shoppexio / shoppex-php
Official PHP SDK for the Shoppex Developer API
v0.1.1
2026-04-06 21:20 UTC
Requires
- php: ^8.2
- ext-curl: *
- ext-json: *
Requires (Dev)
- phpstan/phpstan: ^2.1
README
Official PHP SDK for the Shoppex Developer API.
This package is built for backend apps, admin tooling, and server-side integrations that talk to /dev/v1/*.
Install
composer require shoppexio/shoppex-php
Quick Start
use Shoppex\ShoppexClient; $client = new ShoppexClient(apiKey: 'shx_your_api_key'); $me = $client->me()->get(); $products = $client->products()->list(['page' => 1, 'limit' => 20]);
Auth
Use one of these:
apiKeyfor your own server-to-server integrationsaccessTokenfor OAuth app installs
Included Services
meproductsorderscustomerspaymentsinvoicescouponswebhooks
This covers the main backend workflows:
- product reads and writes
- order creation, completion, fulfillment, and refunds
- customer reads and writes
- payment and invoice flows
- coupon checks and CRUD
- webhook management and delivery logs
Docs
- Developer API docs: docs.shoppex.io/api-reference/introduction
- SDK docs: docs.shoppex.io/api-reference/sdks