secomapp/shopify-api

Shopify API resources client in PHP

v2.3.4.7 2025-01-08 04:59 UTC

README

A simple Shopify API client in PHP.

Requirements

  • PHP 5.4 (or higher)
  • ext-curl, ext-json

Installation

Get the library via Composer

composer require secomapp/shopify-api

Usage

First you will need to initialise the client like this:

$client = new \Secomapp\ClientApi($clientSecret, $shopName, $accessToken);

Then you can begin making requests like shown below.

$orderApi = new \Secomapp\Resources\Order($client);
$oders = $orderApi->all();