secomapp / shopify-api
Shopify API resources client in PHP
Installs: 26 759
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 6
Forks: 1
Open Issues: 0
Requires
- php: >=5.4.0
- ext-json: *
- cadicvnn/shopify-php: dev-master
- guzzlehttp/guzzle: ^6.3|^7.0
Requires (Dev)
- phpunit/phpunit: ^7.0.0
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();