Skip to content

cadicvnn/shopify-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopify API

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();